OpenCloudOS-Kernel/drivers/gpu/drm/amd/display
Furquan Shaikh ba1bab14b6 drivers: gpu: amd: Initialize amdgpu_dm_backlight_caps object to 0 in amdgpu_dm_update_backlight_caps
In `amdgpu_dm_update_backlight_caps()`, there is a local
`amdgpu_dm_backlight_caps` object that is filled in by
`amdgpu_acpi_get_backlight_caps()`. However, this object is
uninitialized before the call and hence the subsequent check for
aux_support can fail since it is not initialized by
`amdgpu_acpi_get_backlight_caps()` as well. This change initializes
this local `amdgpu_dm_backlight_caps` object to 0.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Furquan Shaikh <furquan@google.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-08-24 12:23:34 -04:00
..
amdgpu_dm drivers: gpu: amd: Initialize amdgpu_dm_backlight_caps object to 0 in amdgpu_dm_update_backlight_caps 2020-08-24 12:23:34 -04:00
dc drm/amd/display: Reject overlay plane configurations in multi-display scenarios 2020-08-24 12:22:47 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.29 2020-08-17 14:09:14 -04:00
include drm/amd/display: fix pow() crashing when given base 0 2020-08-17 14:08:59 -04:00
modules drm/amd/display: Change ABM config init interface 2020-08-17 14:07:42 -04:00
Kconfig drm/amd/display: add DCN support for aarch64 2020-08-10 17:26:53 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00