Lines Matching refs:prop
221 struct drm_property *prop; in drm_plane_create_alpha_property() local
223 prop = drm_property_create_range(plane->dev, 0, "alpha", in drm_plane_create_alpha_property()
225 if (!prop) in drm_plane_create_alpha_property()
228 drm_object_attach_property(&plane->base, prop, DRM_BLEND_ALPHA_OPAQUE); in drm_plane_create_alpha_property()
229 plane->alpha_property = prop; in drm_plane_create_alpha_property()
284 struct drm_property *prop; in drm_plane_create_rotation_property() local
290 prop = drm_property_create_bitmask(plane->dev, 0, "rotation", in drm_plane_create_rotation_property()
293 if (!prop) in drm_plane_create_rotation_property()
296 drm_object_attach_property(&plane->base, prop, rotation); in drm_plane_create_rotation_property()
301 plane->rotation_property = prop; in drm_plane_create_rotation_property()
373 struct drm_property *prop; in drm_plane_create_zpos_property() local
375 prop = drm_property_create_range(plane->dev, 0, "zpos", min, max); in drm_plane_create_zpos_property()
376 if (!prop) in drm_plane_create_zpos_property()
379 drm_object_attach_property(&plane->base, prop, zpos); in drm_plane_create_zpos_property()
381 plane->zpos_property = prop; in drm_plane_create_zpos_property()
411 struct drm_property *prop; in drm_plane_create_zpos_immutable_property() local
413 prop = drm_property_create_range(plane->dev, DRM_MODE_PROP_IMMUTABLE, in drm_plane_create_zpos_immutable_property()
415 if (!prop) in drm_plane_create_zpos_immutable_property()
418 drm_object_attach_property(&plane->base, prop, zpos); in drm_plane_create_zpos_immutable_property()
420 plane->zpos_property = prop; in drm_plane_create_zpos_immutable_property()
575 struct drm_property *prop; in drm_plane_create_blend_mode_property() local
590 prop = drm_property_create(dev, DRM_MODE_PROP_ENUM, in drm_plane_create_blend_mode_property()
593 if (!prop) in drm_plane_create_blend_mode_property()
602 ret = drm_property_add_enum(prop, props[i].type, in drm_plane_create_blend_mode_property()
606 drm_property_destroy(dev, prop); in drm_plane_create_blend_mode_property()
612 drm_object_attach_property(&plane->base, prop, DRM_MODE_BLEND_PREMULTI); in drm_plane_create_blend_mode_property()
613 plane->blend_mode_property = prop; in drm_plane_create_blend_mode_property()