[PATCH] drm/amd/display: Drop config guard for DC_LOG_DP2

2021-11-18 Thread Leo (Hanghong) Ma
[Why & How] It doesn't make sense to guard DC_LOG_DP2 by CONFIG_DRM_AMD_DCN, and this also caused build failure for allmodconfig; So drop the guard to fix the compile failure; Signed-off-by: Leo (Hanghong) Ma --- drivers/gpu/drm/amd/display/include/logger_types.h | 4 1 file change

[PATCH] drm/amd/display: Reduce dmesg error to a debug print

2021-11-12 Thread Leo (Hanghong) Ma
[Why & How] Dmesg errors are found on dcn3.1 during reset test, but it's not a really failure. So reduce it to a debug print. Signed-off-by: Leo (Hanghong) Ma --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu

[PATCH] drm/amdgpu: add DMUB trace event IRQ source define

2021-03-04 Thread Leo (Hanghong) Ma
[Why & How] We use DMCUB outbox0 interrupt to log DMCUB trace buffer events as Linux kernel traces, so need to add some irq source related defination in the header files; Signed-off-by: Leo (Hanghong) Ma --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm

[PATCH] Revert "drm/amdgpu: add DMUB trace event IRQ source define"

2021-03-04 Thread Leo (Hanghong) Ma
This reverts commit 3590cb311815b3f82af04e2ff1f182ca919af3d3. The patch is applyed mistakenly before code review. --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 - drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h | 2 -- 2 files changed, 3 deletions(-) diff --git

[PATCH] drm/amd/amdgpu: Update update_config() logic

2020-05-11 Thread Leo (Hanghong) Ma
: I8235998b8fac3d58d24edf86bb5d7cc030f1e375 Signed-off-by: Leo (Hanghong) Ma --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c b/drivers/gpu/drm/amd/display/amdgpu_dm