OSDN Git Service

drm/i915/guc: Simpler CT message size calculation
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sat, 11 Jan 2020 23:11:11 +0000 (23:11 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Jan 2020 13:06:55 +0000 (13:06 +0000)
commitd8186dd23926bb6457181ced379d1757f594f507
tree1d3eb67620268ff4cb98c38bc3e82ef0f3d82aec
parente88e9f8ea4e95df6e76ce6721e93524d3d116705
drm/i915/guc: Simpler CT message size calculation

We need CT message size in bytes so just use that in helper var.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200111231114.59208-2-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c