drm/i915: Whitelist COMMON_SLICE_CHICKEN2
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 11 Sep 2019 01:48:01 +0000 (18:48 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Sep 2019 07:59:48 +0000 (08:59 +0100)
commit0606259e3b3a1220a0f04a92a1654a3f674f47ee
tree2612e739f5efb9d66fe50ab34c930343b672781d
parent99013b10100c4b552eec845ee2ca5604c8332e92
drm/i915: Whitelist COMMON_SLICE_CHICKEN2

This allows userspace to use "legacy" mode for push constants, where
they are committed at 3DPRIMITIVE or flush time, rather than being
committed at 3DSTATE_BINDING_TABLE_POINTERS_XS time.  Gen6-8 and Gen11
both use the "legacy" behavior - only Gen9 works in the "new" way.

Conflating push constants with binding tables is painful for userspace,
we would like to be able to avoid doing so.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: stable@vger.kernel.org
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190911014801.26821-1-kenneth@whitecape.org
drivers/gpu/drm/i915/gt/intel_workarounds.c