radeon: fix includes
And add required forward declarations. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4319>
This commit is contained in:
committed by
Marge Bot
parent
7f52bbb7c0
commit
53e5e802f8
@@ -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);
|
||||
|
||||
|
||||
@@ -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) { \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user