From b050486b1cab3cd94a9116e1d567d7c15f38fd4f Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 15 Jun 2023 02:54:54 +0000 Subject: [PATCH] drm/amd/display: Use DC_LOG_DC in the trasform pixel function From Rodrigo Siqueira 34813f041d0e627905f47ccadc94a7fc566104d0 in linux-6.1.y/6.1.30 7222f5841ff49709ca666b05ff336776e0664a20 in mainline linux --- sys/dev/pci/drm/amd/display/dc/dce/dce_transform.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/drm/amd/display/dc/dce/dce_transform.c b/sys/dev/pci/drm/amd/display/dc/dce/dce_transform.c index d9fd4ec6058..670d5ab9d99 100644 --- a/sys/dev/pci/drm/amd/display/dc/dce/dce_transform.c +++ b/sys/dev/pci/drm/amd/display/dc/dce/dce_transform.c @@ -1009,7 +1009,7 @@ static void dce_transform_set_pixel_storage_depth( color_depth = COLOR_DEPTH_101010; pixel_depth = 0; expan_mode = 1; - BREAK_TO_DEBUGGER(); + DC_LOG_DC("The pixel depth %d is not valid, set COLOR_DEPTH_101010 instead.", depth); break; } @@ -1023,8 +1023,7 @@ static void dce_transform_set_pixel_storage_depth( if (!(xfm_dce->lb_pixel_depth_supported & depth)) { /*we should use unsupported capabilities * unless it is required by w/a*/ - DC_LOG_WARNING("%s: Capability not supported", - __func__); + DC_LOG_DC("%s: Capability not supported", __func__); } } -- 2.20.1