radv/video: add missing gfx family
authorDave Airlie <airlied@redhat.com>
Thu, 16 Mar 2023 03:11:29 +0000 (13:11 +1000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Apr 2023 02:00:03 +0000 (02:00 +0000)
This is compatible with rdna2 but was just missing.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21980>

src/amd/vulkan/radv_video.c

index 8678a78..3a0806a 100644 (file)
@@ -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;