drm/i915/uc: Remove redundant ucode offset definition
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 26 Jul 2019 18:42:11 +0000 (18:42 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 26 Jul 2019 20:15:06 +0000 (21:15 +0100)
commit5de51fa0b9399e53a352437a9fdbd50a2e5912c5
tree191a01290a6e0290cd01c9cc42c0ca4d7c9f2614
parent3a8c63d28a12dec948439dcb1fd0e60066dc3897
drm/i915/uc: Remove redundant ucode offset definition

According to Firmware layout definition, uCode is located right
after CSS header, so ucode offset is always same as header size.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
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/20190726184212.1836-2-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h