[PATCH 6.7 252/346] drm/tidss: Fix atomic_flush check