]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove usage of legacy_cursor_update
authorShirish S <shirish.s@amd.com>
Fri, 1 Dec 2017 06:27:04 +0000 (01:27 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:48:26 +0000 (12:48 -0500)
commit1e88ad0ae390da86574d6336a9fb26a32cc0e473
tree6c94585a3cf140d3f83ca9a3a0002f20e6564dc8
parentb1ebd7c0cd0e4fa039e663741e6090858e80cd1d
drm/amd/display: remove usage of legacy_cursor_update

Currently the atomic check code uses legacy_cursor_update
to differnetiate if the cursor plane is being requested by
the user, which is not required as we shall be updating
plane only if modeset is requested/required.

Have tested cursor plane and underlay get updated seamlessly,
without any lag or frame drops.

Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c