drm/amdgpu: add tmz bit in frame control packet
authorHuang Rui <ray.huang@amd.com>
Thu, 8 Aug 2019 09:00:16 +0000 (17:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2020 20:20:28 +0000 (16:20 -0400)
This patch adds tmz bit in frame control pm4 packet, and it will used in future.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nvd.h
drivers/gpu/drm/amd/amdgpu/soc15d.h

index 1de984647dbbfcc790ae762cc35768332d90e849..f3d8771ebed4d21ddae0230c6ac866dac88d9d95 100644 (file)
 #define        PACKET3_GET_LOD_STATS                           0x8E
 #define        PACKET3_DRAW_MULTI_PREAMBLE                     0x8F
 #define        PACKET3_FRAME_CONTROL                           0x90
+#                      define FRAME_TMZ        (1 << 0)
 #                      define FRAME_CMD(x) ((x) << 28)
                        /*
                         * x=0: tmz_begin
index edfe50821cd9bf5e042fc001eb7ca204660f9aed..295d68c5811d737a556944dabdef7a4bf9c068d1 100644 (file)
 #define        PACKET3_WAIT_ON_DE_COUNTER_DIFF                 0x88
 #define        PACKET3_SWITCH_BUFFER                           0x8B
 #define PACKET3_FRAME_CONTROL                          0x90
+#                      define FRAME_TMZ        (1 << 0)
 #                      define FRAME_CMD(x) ((x) << 28)
                        /*
                         * x=0: tmz_begin