linux/drivers/gpu/drm/amd/display
Yizhuo Zhai 0726ed3065 drm/amd/display: Fix the uninitialized variable in enable_stream_features()
In function enable_stream_features(), the variable "old_downspread.raw"
could be uninitialized if core_link_read_dpcd() fails, however, it is
used in the later if statement, and further, core_link_write_dpcd()
may write random value, which is potentially unsafe.

Fixes: 6016cd9dba ("drm/amd/display: add helper for enabling mst stream features")
Cc: stable@vger.kernel.org
Signed-off-by: Yizhuo Zhai <yzhai003@ucr.edu>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-12-30 08:54:45 -05:00
..
amdgpu_dm amdgpu: fix some kernel-doc markup 2021-12-14 16:10:53 -05:00
dc drm/amd/display: Fix the uninitialized variable in enable_stream_features() 2021-12-30 08:54:45 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.98 2021-12-30 08:54:44 -05:00
include drm/amd/display: Enable DSC over eDP 2021-11-22 14:45:01 -05:00
modules drm/amd/display: Fix deadlock when falling back to v2 from v3 2021-10-28 14:26:51 -04:00
Kconfig drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI 2021-10-05 10:55:41 -04:00
Makefile
TODO