aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dce/dce_abm.c
diff options
context:
space:
mode:
authorBhawanpreet Lakha <[email protected]>2018-02-16 18:57:42 +0000
committerAlex Deucher <[email protected]>2018-03-05 20:35:06 +0000
commit2f3fd67a8af25f5b4d549c3e9cc515dbf1839ffc (patch)
treecd4c7cf8133e11c3803bdfee6e89f9ac148a7b7a /drivers/gpu/drm/amd/display/dc/dce/dce_abm.c
parentdrm/amd/display: Handle HDR use cases. (diff)
downloadkernel-2f3fd67a8af25f5b4d549c3e9cc515dbf1839ffc.tar.gz
kernel-2f3fd67a8af25f5b4d549c3e9cc515dbf1839ffc.zip
drm/amd/display: Use MACROS instead of dm_logger
Created MACROS for all log levels. Also Replaced usage of dm_logger_write to the defined MACROS Signed-off-by: Bhawanpreet Lakha <[email protected]> Reviewed-by: Tony Cheng <[email protected]> Acked-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_abm.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_abm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_abm.c b/drivers/gpu/drm/amd/display/dc/dce/dce_abm.c
index b231bd53613e..5efd0c460bee 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_abm.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_abm.c
@@ -403,7 +403,7 @@ static bool dce_abm_set_backlight_level(
{
struct dce_abm *abm_dce = TO_DCE_ABM(abm);
- dm_logger_write(abm->ctx->logger, LOG_BACKLIGHT,
+ DC_LOG_BACKLIGHT(abm->ctx->logger,
"New Backlight level: %d (0x%X)\n",
backlight_level, backlight_level);