OSDN Git Service

drm/amd/display: Fix logger context
authorHarry Wentland <harry.wentland@amd.com>
Tue, 30 Jun 2020 15:16:05 +0000 (11:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 20:48:31 +0000 (16:48 -0400)
[Why&How]
use correct logger context

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr_internal.h

index 4e6e18b..7274305 100644 (file)
@@ -71,8 +71,9 @@ enum dentist_divider_range {
 
 #define CTX \
        clk_mgr->base.ctx
+
 #define DC_LOGGER \
-       clk_mgr->ctx->logger
+       clk_mgr->base.ctx->logger