aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorRex Zhu <[email protected]>2015-12-29 05:56:03 +0000
committerAlex Deucher <[email protected]>2016-01-08 20:39:23 +0000
commita969e163a4ac1b0cfa2dc7ab890aaa9ab092951c (patch)
treee3efd3937e624d2e96cf5e5557fb9bbd376e0867 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdrm/amd/powerplay: fix Smatch static checker warnings (diff)
downloadkernel-a969e163a4ac1b0cfa2dc7ab890aaa9ab092951c.tar.gz
kernel-a969e163a4ac1b0cfa2dc7ab890aaa9ab092951c.zip
drm/amd/powerplay: add powerplay valid check to avoid null point. (v2)
In case CONFIG_DRM_AMD_POWERPLAY is defined and amdgpu.powerplay=0. some functions in powrplay can also be called by DAL. and the input parameter is *adev. if just check point not NULL was not enough and will lead to NULL point error. V2: AGD: rebase on upstream Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions