[PATCH v3] drm: add a check to verify the size alignment