artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b0c794
)
drm/amdgpu/soc21: Add video cap query support for VCN_4_0_4
author
jsg
<jsg@openbsd.org>
Tue, 28 Mar 2023 00:29:11 +0000
(
00:29
+0000)
committer
jsg
<jsg@openbsd.org>
Tue, 28 Mar 2023 00:29:11 +0000
(
00:29
+0000)
From Veerabadhran Gopalakrishnan
70f12dee2254dd956ffaf547507b688887fed6c6
in linux-6.1.y/6.1.20
6ce2ea07c5ff0a8188eab0e5cd1f0e4899b36835
in mainline linux
sys/dev/pci/drm/amd/amdgpu/soc21.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/soc21.c
b/sys/dev/pci/drm/amd/amdgpu/soc21.c
index
61ee41a
..
9c52af5
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/soc21.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/soc21.c
@@
-109,6
+109,7
@@
static int soc21_query_video_codecs(struct amdgpu_device *adev, bool encode,
switch (adev->ip_versions[UVD_HWIP][0]) {
case IP_VERSION(4, 0, 0):
case IP_VERSION(4, 0, 2):
+ case IP_VERSION(4, 0, 4):
if (adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0) {
if (encode)
*codecs = &vcn_4_0_0_video_codecs_encode_vcn1;