[PATCH 5.15 23/89] drm/amd/display: check TG is non-null before checking if enabled