OSDN Git Service

drm/amd/display: disable dcn315 pixel rate crb when scaling
authorDmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Tue, 9 May 2023 13:38:29 +0000 (09:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:42:27 +0000 (10:42 -0400)
commit75589226372ce5255ffade2ec6dea862338f7595
tree14c12552071fb0f67edfea1404c545dd058b8dd5
parentf36f2648f32c184ffc285a836b1ce3757e966925
drm/amd/display: disable dcn315 pixel rate crb when scaling

The rough calculation does not account for scaling. Also, make 2
segments the minimum allowed per surface to avoid potential 0 detile
with mpc/odm combine on such outputs.

Reviewed-by: Ariel Bernstein <eric.bernstein@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn315/dcn315_resource.c