]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Remove PSR functions in Linux
authorHarry Wentland <harry.wentland@amd.com>
Sat, 11 Nov 2017 01:01:38 +0000 (20:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Dec 2017 15:51:51 +0000 (10:51 -0500)
commitb55d06b66913ce1c91751c905f292c839cb4d136
tree168266fdb9dde9ef35a520a7d47b88ebc30007c4
parentb0ca3806384860a6b8c8ac9a3c0505baf9f3fc6b
drm/amd/display: Remove PSR functions in Linux

NULL check issue found by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1976
dc_link_setup_psr() warn: variable dereferenced before check 'link' (see
line 1970)

We don't use these functions so might as well remove them.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c