[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

Signed-off-by: Mauro Rossi <issor.or...@gmail.com>
---
 drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c 
b/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c
index 9d21cfba6009..179f67ed7dbb 100644
--- a/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c
@@ -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;
 
@@ -1168,7 +1168,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;
 
        /*************************************************
@@ -1365,7 +1365,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;
 
        /*************************************************
-- 
2.25.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to