ac/radeonsi: add av1 defaults header file from radeonsi
authorDave Airlie <airlied@redhat.com>
Tue, 7 Feb 2023 22:04:10 +0000 (08:04 +1000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 16 Jun 2023 05:53:44 +0000 (05:53 +0000)
This just moves this header file so radv can use it.

Acked-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23640>

src/amd/common/ac_vcn_av1_default.h [moved from src/gallium/drivers/radeonsi/radeon_vcn_av1_default.h with 100% similarity]
src/amd/common/meson.build
src/gallium/drivers/radeonsi/meson.build
src/gallium/drivers/radeonsi/radeon_vcn_dec.c

index eed8061..c94d735 100644 (file)
@@ -105,6 +105,7 @@ amd_common_files = files(
   'amd_family.c',
   'ac_perfcounter.c',
   'ac_perfcounter.h',
+  'ac_vcn_av1_default.h',
 )
 
 if dep_elf.found()
index 7c7d0ec..a057027 100644 (file)
@@ -89,7 +89,6 @@ files_libradeonsi = files(
   'radeon_vce_52.c',
   'radeon_vcn.h',
   'radeon_vcn.c',
-  'radeon_vcn_av1_default.h',
   'radeon_vcn_dec.c',
   'radeon_vcn_dec.h',
   'radeon_vcn_dec_jpeg.c',
index 895cd1f..ee08195 100644 (file)
@@ -19,7 +19,7 @@
 #include <assert.h>
 #include <stdio.h>
 
-#include "radeon_vcn_av1_default.h"
+#include "ac_vcn_av1_default.h"
 
 #define FB_BUFFER_OFFSET             0x1000
 #define FB_BUFFER_SIZE               2048