[PATCH 6.12 018/154] drm/amd/display: Refactoring if and endif statements to enable DC_LOGGER