From: Shaoyun Liu <[email protected]>

Add LDS out of range reporting support in mes API

Signed-off-by: Shaoyun Liu <[email protected]>
Reviewed-by: Jonathan Kim <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/include/mes_v12_api_def.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/include/mes_v12_api_def.h 
b/drivers/gpu/drm/amd/include/mes_v12_api_def.h
index a9bbe3070a488..fdaf2e871e575 100644
--- a/drivers/gpu/drm/amd/include/mes_v12_api_def.h
+++ b/drivers/gpu/drm/amd/include/mes_v12_api_def.h
@@ -775,7 +775,8 @@ struct SET_SHADER_DEBUGGER {
                struct {
                        uint32_t single_memop : 1; // SQ_DEBUG.single_memop
                        uint32_t single_alu_op : 1; // SQ_DEBUG.single_alu_op
-                       uint32_t reserved : 30;
+                       uint32_t lds_oor_reporting : 1; /* 
SQ_DEBUG.ADDR_OUT_OF_RANGE_REPORTING */
+                       uint32_t reserved : 29;
                };
                uint32_t u32all;
        } flags;
-- 
2.51.1

Reply via email to