[PATCH 5.10 075/379] drm/tidss: Fix atomic_flush check