drm: Ignore blob propertys in drm_property_change_is_valid()
[deliverable/linux.git] / drivers / gpu / drm / drm_crtc.c
index d9a639c870f43b291e76eb10287dd8617a4b98b7..35336097fb47ca307fb9f9a78bd60d888333f68b 100644 (file)
@@ -3212,6 +3212,9 @@ static bool drm_property_change_is_valid(struct drm_property *property,
                for (i = 0; i < property->num_values; i++)
                        valid_mask |= (1ULL << property->values[i]);
                return !(value & ~valid_mask);
+       } else if (property->flags & DRM_MODE_PROP_BLOB) {
+               /* Only the driver knows */
+               return true;
        } else {
                int i;
                for (i = 0; i < property->num_values; i++)
This page took 0.035626 seconds and 5 git commands to generate.