mirror_ubuntu-kernels/drivers/gpu/drm/amd
Haowen Bai e84c8ab52d drm/amd/display: Fix pointer dereferenced before checking
The value actual_pix_clk_100Hz is dereferencing pointer pix_clk_params
before pix_clk_params is being null checked. Fix this by assigning
pix_clk_params->requested_pix_clk_100hz to actual_pix_clk_100Hz only if
pix_clk_params is not NULL, otherwise just NULL.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-03-31 23:05:54 -04:00
..
acp
amdgpu drm/amdgpu: Add tlb_cb for unlocked update 2022-03-31 23:05:53 -04:00
amdkfd drm/amdgpu: remove table_freed param from the VM code 2022-03-25 12:40:52 -04:00
display drm/amd/display: Fix pointer dereferenced before checking 2022-03-31 23:05:54 -04:00
include drm/amdgpu/vcn: Add vcn and jpeg ver 2.6 ras register definition 2022-03-28 12:54:39 -04:00
pm drm/amd/pm: Check feature support using IP version 2022-03-28 12:54:39 -04:00