Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: Include the correct pkt header for gfx v12_1

GFX v12_1 should use packets defined in gfx_v12_1_pkt
header file.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Acked-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Hawking Zhang and committed by
Alex Deucher
1fee035b f8692d2f

+5 -4
-1
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
··· 40 40 #include "ivsrcid/gfx/irqsrcs_gfx_11_0_0.h" 41 41 42 42 #include "soc15.h" 43 - #include "soc15d.h" 44 43 #include "clearstate_gfx12.h" 45 44 #include "v12_structs.h" 46 45 #include "gfx_v12_1.h"
+5 -3
drivers/gpu/drm/amd/amdgpu/gfx_v12_1_pkt.h
··· 369 369 #define PACKET3_HDP_FLUSH 0x95 370 370 #define PACKET3_COPY_DATA_RB 0x96 371 371 #define PACKET3_INVALIDATE_TLBS 0x98 372 - # define PACKET3_INVALIDATE_TLBS_DST_SEL(x) ((x) << 0) 373 - # define PACKET3_INVALIDATE_TLBS_ALL_HUB(x) ((x) << 4) 374 - # define PACKET3_INVALIDATE_TLBS_PASID(x) ((x) << 5) 372 + #define PACKET3_INVALIDATE_TLBS_DST_SEL(x) ((x) << 0) 373 + #define PACKET3_INVALIDATE_TLBS_ALL_HUB(x) ((x) << 4) 374 + #define PACKET3_INVALIDATE_TLBS_PASID(x) ((x) << 5) 375 + #define PACKET3_INVALIDATE_TLBS_FLUSH_TYPE(x) ((x) << 29) 376 + 375 377 #define PACKET3_AQL_PACKET 0x99 376 378 #define PACKET3_DMA_DATA_FILL_MULTI 0x9A 377 379 #define PACKET3_SET_SH_REG_INDEX 0x9B