[PATCH 6.6 258/331] drm/tidss: Fix atomic_flush check