drm/amdgpu: use IP presence to free uvd and vce handles
Rather than checking the asic type, check whether the UVD
or VCE IP blocks exist. This way we don't have to update
the check with new asics that use VCN.
Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
parent
a06c3ee0
Please register or sign in to comment