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 <Bhawanpreet.Lakha@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-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
44c6f2e59e
commit
2f3fd67a8a
@@ -181,8 +181,8 @@ bool dal_irq_service_dummy_set(
|
||||
const struct irq_source_info *info,
|
||||
bool enable)
|
||||
{
|
||||
dm_logger_write(
|
||||
irq_service->ctx->logger, LOG_ERROR,
|
||||
DC_LOG_ERROR(
|
||||
irq_service->ctx->logger,
|
||||
"%s: called for non-implemented irq source\n",
|
||||
__func__);
|
||||
return false;
|
||||
@@ -192,8 +192,8 @@ bool dal_irq_service_dummy_ack(
|
||||
struct irq_service *irq_service,
|
||||
const struct irq_source_info *info)
|
||||
{
|
||||
dm_logger_write(
|
||||
irq_service->ctx->logger, LOG_ERROR,
|
||||
DC_LOG_ERROR(
|
||||
irq_service->ctx->logger,
|
||||
"%s: called for non-implemented irq source\n",
|
||||
__func__);
|
||||
return false;
|
||||
|
||||
@@ -104,8 +104,8 @@ bool dal_irq_service_set(
|
||||
find_irq_source_info(irq_service, source);
|
||||
|
||||
if (!info) {
|
||||
dm_logger_write(
|
||||
irq_service->ctx->logger, LOG_ERROR,
|
||||
DC_LOG_ERROR(
|
||||
irq_service->ctx->logger,
|
||||
"%s: cannot find irq info table entry for %d\n",
|
||||
__func__,
|
||||
source);
|
||||
@@ -142,8 +142,8 @@ bool dal_irq_service_ack(
|
||||
find_irq_source_info(irq_service, source);
|
||||
|
||||
if (!info) {
|
||||
dm_logger_write(
|
||||
irq_service->ctx->logger, LOG_ERROR,
|
||||
DC_LOG_ERROR(
|
||||
irq_service->ctx->logger,
|
||||
"%s: cannot find irq info table entry for %d\n",
|
||||
__func__,
|
||||
source);
|
||||
|
||||
Reference in New Issue
Block a user