OSDN Git Service

drm/amd/powerplay: avoid access before allocation
authorEvan Quan <evan.quan@amd.com>
Fri, 12 Jul 2019 02:32:02 +0000 (10:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jul 2019 18:34:30 +0000 (13:34 -0500)
commit7ef65bbd01fd59b749e8bd5b19d0c01e315fef8d
treef21d1676b206fc840a7aa4cbfa23eca23761078b
parent366cf03ec00f18e802f304c2cc057cac842e1244
drm/amd/powerplay: avoid access before allocation

No access before allocation.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/vega20_ppt.c