]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Cache cursor position.
authorYongqiang Sun <yongqiang.sun@amd.com>
Tue, 21 Nov 2017 21:12:23 +0000 (16:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Dec 2017 15:54:25 +0000 (10:54 -0500)
commitfdaad93d919317bcdfb9b80b8744983c9673b07a
tree5abc152e05f84fef31de8477996a88ec5ec2da8b
parentf43a128b7de548f8ca2f5522e0add561f24ec395
drm/amd/display: Cache cursor position.

When programming cursor position after front end programmed,
if position is already set previously, it doesn't make sense
to program position with all 0.
Cache position and use the parameter after front end programming.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
drivers/gpu/drm/amd/display/dc/dc_stream.h