drm/xe/guc: Fix wrong assert about full_len
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 16 Nov 2023 15:12:39 +0000 (16:12 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:44:38 +0000 (11:44 -0500)
commit4a9b7d29c117fc6e49690728f35b6a16454556f2
treeab5f8b11137e358f622db4d64c0b42d4341f5444
parent32dd40fb48c56265ab08d379fecb8bbf62e3c427
drm/xe/guc: Fix wrong assert about full_len

This variable holds full length of the message, including header
length so it should be checked against GUC_CTB_MSG_MAX_LEN.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_guc_ct.c