]> asedeno.scripts.mit.edu Git - linux.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)
commit23529cbe91569a12374e6008f8c7d173f3243f08
treed0288fed82ff914f08c977405b6bac5335cf84d3
parent33ec6c9eb35e6bcf60b5a134d8e8e1ed836a0bc1
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