drm/i915/cnl: Do not add an extra page for precaution in the Gen10 LRC size
authorOscar Mateo <oscar.mateo@intel.com>
Wed, 4 Oct 2017 15:39:52 +0000 (08:39 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Oct 2017 17:04:34 +0000 (18:04 +0100)
commit3cf1934abe88103fcbeff88bbaee8a094502e6cb
tree2ef24eed89f8c848345fd5d5de0f1124339658b1
parent83482ca3b4fe7312bf3d1f25c7a4e9ff66585eab
drm/i915/cnl: Do not add an extra page for precaution in the Gen10 LRC size

BSpec indicates exactly 16752 DWORDs (17 pages), plus one page for PPHWSP. Please
notice that, when looking at the BSpec context image table, the right filter has
to be applied (e.g. "CNL") as some rows are excluded for specific GENs.

BSpec: 1383

v2: Update count and add BSpec tag (Joonas)
v3: Warning about filters in the commit message (Joonas)

Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Fixes: 7fd0b1a ("drm/i915/cnl: Add Gen10 LRC size")
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1507131592-29209-1-git-send-email-oscar.mateo@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_engine_cs.c