mirror of
https://github.com/torvalds/linux.git
synced 2026-05-02 13:32:40 -04:00
drm/amd/display: Convert remaining loggers off dc_logger
- Removed dal/dm/dc loggers from linux, switched to kernel prints - Modified functions that used these directly to use macros - dc_logger support is completely dropped from Linux Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
084b3765ec
commit
e1cb3e4801
@@ -25,10 +25,9 @@
|
||||
|
||||
#ifndef _CALCS_CALCS_LOGGER_H_
|
||||
#define _CALCS_CALCS_LOGGER_H_
|
||||
#define DC_LOGGER \
|
||||
logger
|
||||
#define DC_LOGGER ctx->logger
|
||||
|
||||
static void print_bw_calcs_dceip(struct dal_logger *logger, const struct bw_calcs_dceip *dceip)
|
||||
static void print_bw_calcs_dceip(struct dc_context *ctx, const struct bw_calcs_dceip *dceip)
|
||||
{
|
||||
|
||||
DC_LOG_BANDWIDTH_CALCS("#####################################################################");
|
||||
@@ -122,7 +121,7 @@ static void print_bw_calcs_dceip(struct dal_logger *logger, const struct bw_calc
|
||||
|
||||
}
|
||||
|
||||
static void print_bw_calcs_vbios(struct dal_logger *logger, const struct bw_calcs_vbios *vbios)
|
||||
static void print_bw_calcs_vbios(struct dc_context *ctx, const struct bw_calcs_vbios *vbios)
|
||||
{
|
||||
|
||||
DC_LOG_BANDWIDTH_CALCS("#####################################################################");
|
||||
@@ -181,7 +180,7 @@ static void print_bw_calcs_vbios(struct dal_logger *logger, const struct bw_calc
|
||||
|
||||
}
|
||||
|
||||
static void print_bw_calcs_data(struct dal_logger *logger, struct bw_calcs_data *data)
|
||||
static void print_bw_calcs_data(struct dc_context *ctx, struct bw_calcs_data *data)
|
||||
{
|
||||
|
||||
int i, j, k;
|
||||
|
||||
Reference in New Issue
Block a user