drm/amdgpu: add picasso for amdgpu kms
authorLikun Gao <[email protected]>
Tue, 10 Jul 2018 12:34:10 +0000 (20:34 +0800)
committerAlex Deucher <[email protected]>
Fri, 14 Sep 2018 14:35:30 +0000 (09:35 -0500)
Add picasso for amdgpu kms

Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c

index 86e8772b6852baa2b317048df5e6707937cec8dd..76174c4d288a7d77194906e4fc24b33b905e1c7b 100644 (file)
@@ -974,7 +974,7 @@ void amdgpu_driver_postclose_kms(struct drm_device *dev,
 
        pm_runtime_get_sync(dev->dev);
 
-       if (adev->asic_type != CHIP_RAVEN) {
+       if (adev->asic_type != CHIP_RAVEN && adev->asic_type != CHIP_PICASSO) {
                amdgpu_uvd_free_handles(adev, file_priv);
                amdgpu_vce_free_handles(adev, file_priv);
        }