drm/i915/gt: Declare gen9 has 64 mocs entries!
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 27 Nov 2020 10:25:40 +0000 (10:25 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 27 Nov 2020 12:27:37 +0000 (12:27 +0000)
commit444fbf5d7058099447c5366ba8bb60d610aeb44b
treecc065fe715081ae49c851e86ab9c7723ed1351e8
parent85cc2917a3965a3a747a6407d6e3028cfeb1534e
drm/i915/gt: Declare gen9 has 64 mocs entries!

We checked the table size against a hardcoded number of entries, and
that number was excluding the special mocs registers at the end.

Fixes: 977933b5da7c ("drm/i915/gt: Program mocs:63 for cache eviction on gen9")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: <stable@vger.kernel.org> # v4.3+
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201127102540.13117-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_mocs.c