Commit f17f90f4 authored by Mauro Rossi's avatar Mauro Rossi Committed by Alex Deucher
Browse files

drm/amd/display: dc/dce60: set max_cursor_size to 64



[Why]
Issue in the Mouse cursor size in Linux Desktop Environments

[How]
In DCE6 dc->caps.max_cursor_size need to be set as 64 instead of 128

Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarMauro Rossi <issor.oruam@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3ecb3b79
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -970,7 +970,7 @@ static bool dce60_construct(
	pool->base.timing_generator_count = res_cap.num_timing_generator;
	dc->caps.max_downscale_ratio = 200;
	dc->caps.i2c_speed_in_khz = 40;
	dc->caps.max_cursor_size = 128;
	dc->caps.max_cursor_size = 64;
	dc->caps.dual_link_dvi = true;
	dc->caps.extended_aux_timeout_support = false;

@@ -1164,7 +1164,7 @@ static bool dce61_construct(
	pool->base.timing_generator_count = res_cap_61.num_timing_generator;
	dc->caps.max_downscale_ratio = 200;
	dc->caps.i2c_speed_in_khz = 40;
	dc->caps.max_cursor_size = 128;
	dc->caps.max_cursor_size = 64;
	dc->caps.is_apu = true;

	/*************************************************
@@ -1361,7 +1361,7 @@ static bool dce64_construct(
	pool->base.timing_generator_count = res_cap_64.num_timing_generator;
	dc->caps.max_downscale_ratio = 200;
	dc->caps.i2c_speed_in_khz = 40;
	dc->caps.max_cursor_size = 128;
	dc->caps.max_cursor_size = 64;
	dc->caps.is_apu = true;

	/*************************************************