Skip to content

Commit 3b545b2

Browse files
committed
drm/xe/xe3: Recognize 3DSTATE_COARSE_PIXEL in LRC dumps
Xe3 adds a new 3DSTATE_COARSE_PIXEL state instruction as part of the render engine LRC. Ensure we can recognize and report this properly in the LRC dumps. Bspec: 65182, 73415 Reviewed-by: Sai Teja Pottumuttu <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Matt Roper <[email protected]>
1 parent b4b05e5 commit 3b545b2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/gpu/drm/xe/instructions/xe_gfxpipe_commands.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@
137137
#define CMD_3DSTATE_CLIP_MESH GFXPIPE_3D_CMD(0x0, 0x81)
138138
#define CMD_3DSTATE_SBE_MESH GFXPIPE_3D_CMD(0x0, 0x82)
139139
#define CMD_3DSTATE_CPSIZE_CONTROL_BUFFER GFXPIPE_3D_CMD(0x0, 0x83)
140+
#define CMD_3DSTATE_COARSE_PIXEL GFXPIPE_3D_CMD(0x0, 0x89)
140141

141142
#define CMD_3DSTATE_DRAWING_RECTANGLE GFXPIPE_3D_CMD(0x1, 0x0)
142143
#define CMD_3DSTATE_CHROMA_KEY GFXPIPE_3D_CMD(0x1, 0x4)

drivers/gpu/drm/xe/xe_lrc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,7 @@ static int dump_gfxpipe_command(struct drm_printer *p,
14451445
MATCH3D(3DSTATE_CLIP_MESH);
14461446
MATCH3D(3DSTATE_SBE_MESH);
14471447
MATCH3D(3DSTATE_CPSIZE_CONTROL_BUFFER);
1448+
MATCH3D(3DSTATE_COARSE_PIXEL);
14481449

14491450
MATCH3D(3DSTATE_DRAWING_RECTANGLE);
14501451
MATCH3D(3DSTATE_CHROMA_KEY);

0 commit comments

Comments
 (0)