diff options
| author | Haowen Bai <[email protected]> | 2022-03-24 09:46:02 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-04-01 03:05:54 +0000 |
| commit | e84c8ab52dc76b09cb1c8885950ad4eaaf340bf6 (patch) | |
| tree | fba563734137e91e1b9a7873eac09b7719c45b95 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amdgpu: Add tlb_cb for unlocked update (diff) | |
| download | kernel-e84c8ab52dc76b09cb1c8885950ad4eaaf340bf6.tar.gz kernel-e84c8ab52dc76b09cb1c8885950ad4eaaf340bf6.zip | |
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
