]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display/psr2: Fix cursor updates using legacy apis
authorJosé Roberto de Souza <jose.souza@intel.com>
Sat, 17 Jul 2021 01:12:26 +0000 (18:12 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Mon, 26 Jul 2021 23:12:58 +0000 (16:12 -0700)
commitb39b53d84f0492162620d9adaf4a459e3d544910
tree7ff8f045653455baa91cc1f1233f34eda14fd86b
parent334d21c42c4814a9a4439228df3a864e4648a475
drm/i915/display/psr2: Fix cursor updates using legacy apis

The fast path only updates cursor register what will not cause
any updates in the screen when using PSR2 selective fetch.

The only option that we have is to go through the slow patch that will
do full atomic commit, that will trigger the PSR2 selective fetch
compute and programing calls.

Without this patch is possible to see a mouse movement lag in Gnome
when PSR2 selective fetch is enabled.

Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210717011227.204494-3-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_cursor.c