[PATCH 10/23] drm/amd/display: Update tmz_surface type to match register

Alex Hung alex.hung at amd.com
Wed Jun 4 18:43:21 UTC 2025


From: Dmytro Laktyushkin <dmytro.laktyushkin at amd.com>

[WHAT]
Update tmz_surface's type to match register size

Reviewed-by: Charlene Liu <charlene.liu at amd.com>
Signed-off-by: Dmytro Laktyushkin <dmytro.laktyushkin at amd.com>
Signed-off-by: Alex Hung <alex.hung at amd.com>
---
 drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
index a0e99db61410..809fc696962d 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
@@ -68,7 +68,7 @@ enum dc_plane_addr_type {
 
 struct dc_plane_address {
 	enum dc_plane_addr_type type;
-	bool tmz_surface;
+	uint8_t tmz_surface;
 	union {
 		struct{
 			PHYSICAL_ADDRESS_LOC addr;
-- 
2.43.0



More information about the amd-gfx mailing list