drm/amdgpu: add picasso for amdgpu kms
authorLikun Gao <Likun.Gao@amd.com>
Tue, 10 Jul 2018 12:34:10 +0000 (20:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Sep 2018 14:35:30 +0000 (09:35 -0500)
Add picasso for amdgpu kms

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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);
        }