[PATCH 6.1 029/149] drm/amd/display: check attr flag before set cursor degamma on DCN3+