diff options
author | Kenneth Graunke | 2018-06-15 20:06:05 +0100 |
---|---|---|
committer | Jani Nikula | 2018-06-19 15:48:24 +0300 |
commit | 7a3727f385dc64773db1c144f6b15c1e9d4735bb (patch) | |
tree | 9f455b3dc5bae21e6e70322eec915aeb00e6036b /samples/configfs | |
parent | bc64e05408cafe3668e7460834935ea3f1764f31 (diff) |
drm/i915: Enable provoking vertex fix on Gen9 systems.
The SF and clipper units mishandle the provoking vertex in some cases,
which can cause misrendering with shaders that use flat shaded inputs.
There are chicken bits in 3D_CHICKEN3 (for SF) and FF_SLICE_CHICKEN
(for the clipper) that work around the issue. These registers are
unfortunately not part of the logical context (even the power context),
and so we must reload them every time we start executing in a context.
Bugzilla: https://bugs.freedesktop.org/103047
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180615190605.16238-1-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: stable@vger.kernel.org
(cherry picked from commit b77422f80337d363eed60c8c48db9cb6e33085c9)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'samples/configfs')
0 files changed, 0 insertions, 0 deletions