commit | 44876ae294dd7d7bcdfb527d12b86beb54cd013b | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Wed Sep 12 13:51:25 2018 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Sep 14 09:36:00 2018 -0500 |
tree | bbe2074827d165851f5f6d3d3cf32b5b6b86dfe9 | |
parent | a06c3ee083b5c622bb9f4a687d7ab5265ee73dbf [diff] |
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>