]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit1a25db65d39cc6c1bdc2bdb999611311f8fec3da
tree8de56df65aca731876cdd280a6859dc41e9a9ac2
parentd1d247543c5626eac1064aafd0a35c231828c211
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