drm/i915/uc: Remove redundant RSA offset definition
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 26 Jul 2019 18:42:12 +0000 (18:42 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 26 Jul 2019 20:15:08 +0000 (21:15 +0100)
commit08f0e4a7ecb9e20f27b9d410bcba84e662fffe3b
tree6a3b1518cec24a4a9c0bc689bc9e0b7275897512
parent5de51fa0b9399e53a352437a9fdbd50a2e5912c5
drm/i915/uc: Remove redundant RSA offset definition

According to Firmware layout definition, RSA signature is located
after CSS header and uCode so actual RSA offset in the blob can be
easily calculated when needed (and we need it only once).

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-3-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h