[RFC PATCH 1/3] drm: use flags instead of boolean in plane check