OSDN Git Service

drm/amd/display: Remove integer scaling code from DC and fix cursor
authorAric Cyr <aric.cyr@amd.com>
Sat, 23 Nov 2019 22:15:51 +0000 (17:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2019 21:09:08 +0000 (16:09 -0500)
commit74cc5f02eb67c1a725f6a11407990836f6f5ddd2
tree5a37ef587aef78f89b785b53f993caab8d29b831
parentccce745c28d6cc7b42a50933fe4b751da0257598
drm/amd/display: Remove integer scaling code from DC and fix cursor

[Why]
Scaling better handled by upper layers before pipe splitting.

[How]
Remove DC code for integer scaling and force cursor update if
viewport or scaling changes occur to prevent underflow from
invalid cursor position.

Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c