drm/amdgpu: convert to UVD IP version checking
authorTim Huang <xiaohu.huang@amd.com>
Tue, 25 Jan 2022 03:13:39 +0000 (11:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jan 2022 23:00:36 +0000 (18:00 -0500)
commit37d6b1506b80a5cf76238b6b00926070ab544058
tree63e7f9f5e02d799a6e5cc1862c1bbd2f30405f8a
parentd726d43c20e744bab1e346c1f77b7a71eff0c40c
drm/amdgpu: convert to UVD IP version checking

Use IP versions rather than asic_type to differentiate IP version specific features.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c