[PATCH 4.19 100/129] drm/amd/display: check TG is non-null before checking if enabled