]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: refine code for dmcub inbox1 ring buffer debug
authorFudongwang <fudong.wang@amd.com>
Wed, 17 Jan 2024 11:13:46 +0000 (19:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jan 2024 20:42:43 +0000 (15:42 -0500)
commit7fc0d111baad0a65f8341b904937ad2b10cc4f1e
treec047eda608c0108e6677a5fde0e28d1eccd9f720
parentf341055b10bd8be55c3c995dff5f770b236b8ca9
drm/amd/display: refine code for dmcub inbox1 ring buffer debug

[Why]
1. To watch dmcub inbox1 ring buffer cmd type without tools
2. dmub_cmd_PLAT_54186_wa 66 bytes

[How]
Added dmcub cmd type enum: unsigned char for debug use only,
also fixed 66 bytes issue by using unsigned int in bit
define instead of unsigned char.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Fudongwang <fudong.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h