]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c
drm/amd/display: define DC_LOGGER for logger
[linux.git] / drivers / gpu / drm / amd / display / dc / dce110 / dce110_transform_v.c
index 809db96a8ba5d1d896856c9c33414bd31c49f771..8ba3c12fc60842c7c6013e4c8f0751e86a0e70d9 100644 (file)
@@ -30,6 +30,8 @@
 #include "dce/dce_11_0_sh_mask.h"
 
 #define SCLV_PHASES 64
+#define DC_LOGGER \
+       xfm->ctx->logger
 
 struct sclv_ratios_inits {
        uint32_t h_int_scale_ratio_luma;
@@ -670,8 +672,7 @@ static void dce110_xfmv_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(xfm->ctx->logger,
-                       "%s: Capability not supported",
+               DC_LOG_WARNING("%s: Capability not supported",
                        __func__);
        }
 }