diff options
author | tiancyin <tianci.yin@amd.com> | 2019-04-01 10:15:31 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-04-04 10:23:15 -0500 |
commit | c1cefe115d1cdc460014483319d440b2f0d07c68 (patch) | |
tree | 145842a06b52a8e897ff7979f5551525444ab0ce /drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | |
parent | drm/amdgpu: amdgpu_device_recover_vram always failed if only one node in shadow_list (diff) | |
download | linux-dev-c1cefe115d1cdc460014483319d440b2f0d07c68.tar.xz linux-dev-c1cefe115d1cdc460014483319d440b2f0d07c68.zip |
drm/amd/display: fix cursor black issue
[Why]
the member sdr_white_level of struct dc_cursor_attributes was not
initialized, then the random value result that
dcn10_set_cursor_sdr_white_level() set error hw_scale value 0x20D9(normal
value is 0x3c00), this cause the black cursor issue.
[how]
just initilize the obj of struct dc_cursor_attributes to zero to avoid
the random value.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Tianci Yin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c')
0 files changed, 0 insertions, 0 deletions