projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba8f7ad
)
drm/amdgpu: add VEGAM UVD encode support
author
Leo Liu
<leo.liu@amd.com>
Wed, 11 Apr 2018 20:24:01 +0000
(15:24 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:59 +0000
(13:43 -0500)
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>
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
index
f26f515
..
6d33598
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
@@
-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));
}