]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/wopcm: update default size for gen11+
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 6 Jun 2019 22:42:25 +0000 (15:42 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 9 Jun 2019 10:28:32 +0000 (11:28 +0100)
commit0a76ef1c48c9a436743d9e8c2300f1ca99a3bb57
treed0288fed82ff914f08c977405b6bac5335cf84d3
parent275da25d99379eb41762beab820639c134ee5bbb
drm/i915/wopcm: update default size for gen11+

The size has been increased to 2MB starting from Gen11. GuC and HuC FWs
fit in 1MB so we were fine even with the legacy define, but let's still
move to the correct one before the blobs grow to avoid being caught off
guard in the future.

v2: return early if the platform doesn't have GuC, fix nits (Michal)

Bspec: 12690
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
[ickle: use SZ consistently]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190606224225.14287-2-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/intel_wopcm.c