mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
radv: disable video support on GFX12
VCN 5.0+ isn't yet implemented. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33253>
This commit is contained in:
parent
b9da3963c7
commit
9d528b9966
2 changed files with 9 additions and 0 deletions
|
|
@ -277,6 +277,10 @@ radv_probe_video_decode(struct radv_physical_device *pdev)
|
|||
|
||||
pdev->video_decode_enabled = false;
|
||||
|
||||
/* TODO: Add VCN 5.0+. */
|
||||
if (pdev->info.vcn_ip_version >= VCN_5_0_0)
|
||||
return;
|
||||
|
||||
/* The support for decode events are available at the same time as encode */
|
||||
if (pdev->info.vcn_ip_version >= VCN_4_0_0) {
|
||||
if (pdev->info.vcn_enc_major_version > 1)
|
||||
|
|
|
|||
|
|
@ -113,6 +113,11 @@ void
|
|||
radv_probe_video_encode(struct radv_physical_device *pdev)
|
||||
{
|
||||
pdev->video_encode_enabled = false;
|
||||
|
||||
/* TODO: Add VCN 5.0+. */
|
||||
if (pdev->info.vcn_ip_version >= VCN_5_0_0)
|
||||
return;
|
||||
|
||||
if (pdev->info.vcn_ip_version >= VCN_4_0_0) {
|
||||
if (pdev->info.vcn_enc_major_version != RENCODE_V4_FW_INTERFACE_MAJOR_VERSION)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue