sna: Enable TearFree by default on recent HW

Graphics / X.Org / xf86-video-intel - Chris Wilson [chris-wilson.co.uk] - 15 December 2020 17:00 UTC

When there is ample memory bandwidth and we are not fighting for global resources, enable TearFree by default. Avoiding tearing is much more pleasant (for direct rendering where the source itself is not being synchronized to vblank) at negligible power cost; just doubles the memory footprint of scanout.

References: https://gitlab.freedesktop.org/drm/intel/-/issues/2799 References: https://gitlab.freedesktop.org/drm/intel/-/issues/2763

a511f22c sna: Enable TearFree by default on recent HW
src/sna/kgem.c | 15 +++++++++++++++
src/sna/kgem.h | 1 +
src/sna/sna_driver.c | 13 ++++++++++++-
3 files changed, 28 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share