diff options
author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2020-03-27 20:33:13 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-30 11:05:52 +0000 |
commit | 53e5e802f88134492e4c88936f2d7a961cd431a5 (patch) | |
tree | 08da9153b92f50fa65869cf25a5872ae42999109 /src/gallium | |
parent | 7f52bbb7c026b846fae3ccecbab7d0b2693e5c45 (diff) |
radeon: fix includes
And add required forward declarations.
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4319>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_uvd_enc.h | 4 | ||||
-rw-r--r-- | src/gallium/drivers/radeon/radeon_vce.h | 1 | ||||
-rw-r--r-- | src/gallium/drivers/radeon/radeon_vcn_dec.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeon/radeon_vcn_enc.h | 2 |
4 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_uvd_enc.h b/src/gallium/drivers/radeon/radeon_uvd_enc.h index 52e7ae3c0a9..a0f18b68742 100644 --- a/src/gallium/drivers/radeon/radeon_uvd_enc.h +++ b/src/gallium/drivers/radeon/radeon_uvd_enc.h @@ -28,6 +28,8 @@ #ifndef _RADEON_UVD_ENC_H #define _RADEON_UVD_ENC_H +#include "radeon_video.h" + #define RENC_UVD_FW_INTERFACE_MAJOR_VERSION 1 #define RENC_UVD_FW_INTERFACE_MINOR_VERSION 1 @@ -463,6 +465,8 @@ struct radeon_uvd_encoder bool need_feedback; }; +struct si_screen; + void radeon_uvd_enc_1_1_init(struct radeon_uvd_encoder *enc); bool si_radeon_uvd_enc_supported(struct si_screen *sscreen); diff --git a/src/gallium/drivers/radeon/radeon_vce.h b/src/gallium/drivers/radeon/radeon_vce.h index bb2567ed3be..8550cc26f17 100644 --- a/src/gallium/drivers/radeon/radeon_vce.h +++ b/src/gallium/drivers/radeon/radeon_vce.h @@ -29,6 +29,7 @@ #define RADEON_VCE_H #include "util/list.h" +#include "radeon_video.h" #define RVCE_CS(value) (enc->cs->current.buf[enc->cs->current.cdw++] = (value)) #define RVCE_BEGIN(cmd) { \ diff --git a/src/gallium/drivers/radeon/radeon_vcn_dec.h b/src/gallium/drivers/radeon/radeon_vcn_dec.h index f079b94dff5..7cd358a6129 100644 --- a/src/gallium/drivers/radeon/radeon_vcn_dec.h +++ b/src/gallium/drivers/radeon/radeon_vcn_dec.h @@ -28,6 +28,8 @@ #ifndef _RADEON_VCN_DEC_H #define _RADEON_VCN_DEC_H +#include "radeon_video.h" + #define RDECODE_PKT_TYPE_S(x) (((unsigned)(x) & 0x3) << 30) #define RDECODE_PKT_TYPE_G(x) (((x) >> 30) & 0x3) #define RDECODE_PKT_TYPE_C 0x3FFFFFFF diff --git a/src/gallium/drivers/radeon/radeon_vcn_enc.h b/src/gallium/drivers/radeon/radeon_vcn_enc.h index 8edc903f15e..fcf44077558 100644 --- a/src/gallium/drivers/radeon/radeon_vcn_enc.h +++ b/src/gallium/drivers/radeon/radeon_vcn_enc.h @@ -28,6 +28,8 @@ #ifndef _RADEON_VCN_ENC_H #define _RADEON_VCN_ENC_H +#include "radeon_video.h" + #define RENCODE_IB_OP_INITIALIZE 0x01000001 #define RENCODE_IB_OP_CLOSE_SESSION 0x01000002 #define RENCODE_IB_OP_ENCODE 0x01000003 |