Module: Mesa
Branch: main
Commit: d8262e26a201da51e71f6f4b7a216bd7e83205f1
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8262e26a201da51e71f6f4b7a216bd7e83205f1

Author: Dave Airlie <[email protected]>
Date:   Thu Mar 16 13:11:29 2023 +1000

radv/video: add missing gfx family

This is compatible with rdna2 but was just missing.

Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21980>

---

 src/amd/vulkan/radv_video.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/vulkan/radv_video.c b/src/amd/vulkan/radv_video.c
index 8678a783807..3a0806a3a6a 100644
--- a/src/amd/vulkan/radv_video.c
+++ b/src/amd/vulkan/radv_video.c
@@ -101,6 +101,7 @@ radv_init_physical_device_decoder(struct 
radv_physical_device *pdevice)
    case CHIP_NAVI24:
    case CHIP_VANGOGH:
    case CHIP_REMBRANDT:
+   case CHIP_RAPHAEL_MENDOCINO:
       pdevice->vid_dec_reg.data0 = RDECODE_VCN2_5_GPCOM_VCPU_DATA0;
       pdevice->vid_dec_reg.data1 = RDECODE_VCN2_5_GPCOM_VCPU_DATA1;
       pdevice->vid_dec_reg.cmd = RDECODE_VCN2_5_GPCOM_VCPU_CMD;

Reply via email to