mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-05 06:05:06 +00:00
drm/amdgpu: add VEGAM UVD encode support
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
ba8f7ad0e5
commit
136b10ad9b
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ static void uvd_v6_0_enable_mgcg(struct amdgpu_device *adev,
|
|||
static inline bool uvd_v6_0_enc_support(struct amdgpu_device *adev)
|
||||
{
|
||||
return ((adev->asic_type >= CHIP_POLARIS10) &&
|
||||
(adev->asic_type <= CHIP_POLARIS12) &&
|
||||
(adev->asic_type <= CHIP_VEGAM) &&
|
||||
(!adev->uvd.fw_version || adev->uvd.fw_version >= FW_1_130_16));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue