mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 08:02:56 +00:00
drm/amdgpu:new PM4 entry for VI/AI
TMZ package will be used for VULKAN/CHAINED-IB MCBP Signed-off-by: Monk Liu <Monk.Liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
635e713298
commit
d951eeddfa
2 changed files with 13 additions and 0 deletions
|
@ -259,6 +259,13 @@
|
||||||
#define PACKET3_WAIT_ON_CE_COUNTER 0x86
|
#define PACKET3_WAIT_ON_CE_COUNTER 0x86
|
||||||
#define PACKET3_WAIT_ON_DE_COUNTER_DIFF 0x88
|
#define PACKET3_WAIT_ON_DE_COUNTER_DIFF 0x88
|
||||||
#define PACKET3_SWITCH_BUFFER 0x8B
|
#define PACKET3_SWITCH_BUFFER 0x8B
|
||||||
|
#define PACKET3_FRAME_CONTROL 0x90
|
||||||
|
# define FRAME_CMD(x) ((x) << 28)
|
||||||
|
/*
|
||||||
|
* x=0: tmz_begin
|
||||||
|
* x=1: tmz_end
|
||||||
|
*/
|
||||||
|
|
||||||
#define PACKET3_SET_RESOURCES 0xA0
|
#define PACKET3_SET_RESOURCES 0xA0
|
||||||
/* 1. header
|
/* 1. header
|
||||||
* 2. CONTROL
|
* 2. CONTROL
|
||||||
|
|
|
@ -361,6 +361,12 @@
|
||||||
#define PACKET3_WAIT_ON_CE_COUNTER 0x86
|
#define PACKET3_WAIT_ON_CE_COUNTER 0x86
|
||||||
#define PACKET3_WAIT_ON_DE_COUNTER_DIFF 0x88
|
#define PACKET3_WAIT_ON_DE_COUNTER_DIFF 0x88
|
||||||
#define PACKET3_SWITCH_BUFFER 0x8B
|
#define PACKET3_SWITCH_BUFFER 0x8B
|
||||||
|
#define PACKET3_FRAME_CONTROL 0x90
|
||||||
|
# define FRAME_CMD(x) ((x) << 28)
|
||||||
|
/*
|
||||||
|
* x=0: tmz_begin
|
||||||
|
* x=1: tmz_end
|
||||||
|
*/
|
||||||
#define PACKET3_SET_RESOURCES 0xA0
|
#define PACKET3_SET_RESOURCES 0xA0
|
||||||
/* 1. header
|
/* 1. header
|
||||||
* 2. CONTROL
|
* 2. CONTROL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue