drm/amdgpu: handle runtime pm correctly in amdgpu_driver_open_kms
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 27 Aug 2016 16:30:25 +0000 (12:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Sep 2016 14:34:47 +0000 (10:34 -0400)
commitdc08267ac4ee7d4b602dd0ac000114e4426e2769
tree91c9196b58c715aa3bc54e0c4eeaed702f5cce34
parent5e0b1617fc38a27cf494c5d0b51f08de77ce0d20
drm/amdgpu: handle runtime pm correctly in amdgpu_driver_open_kms

Need to fix the error paths.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c