Skip to content

Commit 2b5a208

Browse files
Timur Kristófgregkh
authored andcommitted
drm/amd/display: Disable scaling on DCE6 for now
[ Upstream commit 0e190a0 ] Scaling doesn't work on DCE6 at the moment, the current register programming produces incorrect output when using fractional scaling (between 100-200%) on resolutions higher than 1080p. Disable it until we figure out how to program it properly. Fixes: 7c15fd8 ("drm/amd/display: dc/dce: add initial DCE6 support (v10)") Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 3ab5be9 commit 2b5a208

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,13 @@ static const struct dc_plane_cap plane_cap = {
403403
},
404404

405405
.max_upscale_factor = {
406-
.argb8888 = 16000,
406+
.argb8888 = 1,
407407
.nv12 = 1,
408408
.fp16 = 1
409409
},
410410

411411
.max_downscale_factor = {
412-
.argb8888 = 250,
412+
.argb8888 = 1,
413413
.nv12 = 1,
414414
.fp16 = 1
415415
}

0 commit comments

Comments
 (0)