]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Handle get crtc position error
authorDavid Francis <David.Francis@amd.com>
Mon, 25 Mar 2019 13:44:04 +0000 (09:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Apr 2019 05:20:03 +0000 (00:20 -0500)
commitba936a62e48b21fefb9535ed9f513c9691e0ac2f
tree1bcf5004b1db072974a4933cb8ac4719a7395d39
parent696f19a5c0f0d9c71cb57924e2d9b6c9cccc4bba
drm/amd/display: Handle get crtc position error

[Why]
dc_stream_get_crtc_position can return false.
This was unhandled in delay_cursor_until_vupdate

[How]
If dc_stream_get_crtc_position returns false, something
is weird.  Don't delay.

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Sun peng Li <Sunpeng.Li@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c