]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/cnl: Apply large line width optimization
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 15 Aug 2017 23:16:51 +0000 (16:16 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 18 Aug 2017 22:33:13 +0000 (15:33 -0700)
commit6c62a7b054e96fc8fb4dffd8410534e8c4105711
tree8de56df65aca731876cdd280a6859dc41e9a9ac2
parent3444fa33b0e6468ab99d710985abe42e6c2fe3f4
drm/i915/cnl: Apply large line width optimization

This bit enables hardware that will change the approximation used for distances
calculations for AA wide lines so that they are rendered more accurately.

The default value for this bit leaves the legacy behavior. There is no good
reason to not enable the new approximation except if comparing to previous GEN
rendered images.

v2: Rebase
v3: Fix author.
    Rebased by Rodrigo who also added  a comment as suggested by Oscar.
    Since it is surrounded by Workarounds let's just add a comment to
    make clear it is not an Wa.

Cc: Oscar Mateo <oscar.mateo@intel.com>
Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Oscar Mateo <oscar.mateo@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170815231651.975-4-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c