]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: fix hubp tmz field define mismatch
authorCharlene Liu <Charlene.Liu@amd.com>
Fri, 10 Apr 2026 13:24:17 +0000 (09:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2026 18:27:21 +0000 (14:27 -0400)
[why & how]
to make hubp surface_flip_registers field define mismatch
with dc_plane_address

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Reviewed-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h

index 2a5a81d159507548e26287c2fff8649661ff326c..71f6c5350e5ede6c2b3da3d37ee2b7c11b110ab7 100644 (file)
@@ -133,7 +133,7 @@ struct surface_flip_registers {
        uint32_t DCSURF_SECONDARY_META_SURFACE_ADDRESS;
        uint32_t DCSURF_SECONDARY_SURFACE_ADDRESS_HIGH;
        uint32_t DCSURF_SECONDARY_SURFACE_ADDRESS;
-       bool tmz_surface;
+       uint8_t tmz_surface;
        bool immediate;
        uint8_t vmid;
        bool grph_stereo;