summaryrefslogtreecommitdiffstats
path: root/tools/virtio
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2020-05-25 08:29:10 +0200
committerAlex Deucher <alexander.deucher@amd.com>2020-05-28 20:00:50 +0200
commit2b7ad277e96577e1349072f7e2bab047917ed10d (patch)
treefa35379376a7bd7c8c1d0883640862beecb1ae45 /tools/virtio
parentdrm/amd/display: Make BREAK_TO_DEBUGGER() a debug print (diff)
downloadlinux-2b7ad277e96577e1349072f7e2bab047917ed10d.tar.xz
linux-2b7ad277e96577e1349072f7e2bab047917ed10d.zip
drm/amd/powerplay: check whether SMU IP is enabled before access
Since on early phase of bringup, the SMU IP may be not enabled or supported. Without this, we may hit null pointer dereference on accessing smu->adev. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Yong Zhao <Yong.Zhao@amd.com> Tested-by: Yong Zhao <Yong.Zhao@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions