Displaying 11 results from an estimated 11 matches for "mode_mask".
2018 May 07
2
[PATCH 1/3] drm/connector: Add generic underscan properties
...DRM_UNDERSCAN_ON, "on" },
> + { DRM_UNDERSCAN_AUTO, "auto" },
> +};
> +
> +/**
> + * drm_connector_attach_underscan_properties - attach atomic underscan
> + * properties
> + * @connector: connector to attach underscan mode properties on.
> + * @mode_mask: bitmask of %DRM_UNDERSCAN_XX modes encoding the supported
> + * underscan modes.
> + * @max_hborder: maximum size of the horizontal border expressed in pixels.
> + * Should be > 0.
> + * @max_vborder: maximum size of the vertical border expressed in pixels.
> + * Shoul...
2018 May 07
8
[PATCH 0/3] drm/connector: Provide generic support for underscan
Hello,
This is an attempt at providing generic support for underscan connector
props. We already have 3 drivers defining the same underscan, underscan
vborder and underscan hborder properties (amd, radeon and nouveau) and
I am about to add a new one, hence my proposal to put the prop parsing
code in the core and add ->underscan fields to drm_connector_state.
Note that I use this new
2018 May 07
0
[PATCH 1/3] drm/connector: Add generic underscan properties
...M_UNDERSCAN_OFF, "off" },
+ { DRM_UNDERSCAN_ON, "on" },
+ { DRM_UNDERSCAN_AUTO, "auto" },
+};
+
+/**
+ * drm_connector_attach_underscan_properties - attach atomic underscan
+ * properties
+ * @connector: connector to attach underscan mode properties on.
+ * @mode_mask: bitmask of %DRM_UNDERSCAN_XX modes encoding the supported
+ * underscan modes.
+ * @max_hborder: maximum size of the horizontal border expressed in pixels.
+ * Should be > 0.
+ * @max_vborder: maximum size of the vertical border expressed in pixels.
+ * Should be > 0.
+ *
+ * This...
2018 Nov 22
0
[PATCH v3 1/3] drm/connector: Add generic underscan properties
...M_UNDERSCAN_OFF, "off" },
+ { DRM_UNDERSCAN_ON, "on" },
+ { DRM_UNDERSCAN_AUTO, "auto" },
+};
+
+/**
+ * drm_connector_attach_underscan_properties - attach atomic underscan
+ * properties
+ * @connector: connector to attach underscan mode properties on.
+ * @mode_mask: bitmask of %DRM_UNDERSCAN_XX modes encoding the supported
+ * underscan modes.
+ * @max_hborder: maximum size of the horizontal border expressed in pixels.
+ * Should be > 0.
+ * @max_vborder: maximum size of the vertical border expressed in pixels.
+ * Should be > 0.
+ *
+ * This...
2018 May 07
0
[PATCH 1/3] drm/connector: Add generic underscan properties
...> + { DRM_UNDERSCAN_AUTO, "auto" },
> > +};
> > +
> > +/**
> > + * drm_connector_attach_underscan_properties - attach atomic underscan
> > + * properties
> > + * @connector: connector to attach underscan mode properties on.
> > + * @mode_mask: bitmask of %DRM_UNDERSCAN_XX modes encoding the supported
> > + * underscan modes.
> > + * @max_hborder: maximum size of the horizontal border expressed in pixels.
> > + * Should be > 0.
> > + * @max_vborder: maximum size of the vertical border expressed in pixe...
2018 Nov 22
5
[PATCH v3 0/3] drm/connector: Provide generic support for underscan
Hello,
This is an attempt at providing generic support for underscan connector
props. We already have 3 drivers defining the same underscan, underscan
vborder and underscan hborder properties (amd, radeon and nouveau) and
I am about to add a new one, hence my proposal to put the prop parsing
code in the core and add ->underscan fields to drm_connector_state.
This v3 was based on the "VC4
2018 Nov 22
1
[PATCH v3 1/3] drm/connector: Add generic underscan properties
...>+ { DRM_UNDERSCAN_ON, "on" },
>+ { DRM_UNDERSCAN_AUTO, "auto" },
>+};
>+
>+/**
>+ * drm_connector_attach_underscan_properties - attach atomic underscan
>+ * properties
>+ * @connector: connector to attach underscan mode properties on.
>+ * @mode_mask: bitmask of %DRM_UNDERSCAN_XX modes encoding the supported
>+ * underscan modes.
>+ * @max_hborder: maximum size of the horizontal border expressed in pixels.
>+ * Should be > 0.
>+ * @max_vborder: maximum size of the vertical border expressed in pixels.
>+ * Should be...
2018 May 07
2
[PATCH 1/3] drm/connector: Add generic underscan properties
...DRM_UNDERSCAN_ON, "on" },
> + { DRM_UNDERSCAN_AUTO, "auto" },
> +};
> +
> +/**
> + * drm_connector_attach_underscan_properties - attach atomic underscan
> + * properties
> + * @connector: connector to attach underscan mode properties on.
> + * @mode_mask: bitmask of %DRM_UNDERSCAN_XX modes encoding the supported
> + * underscan modes.
> + * @max_hborder: maximum size of the horizontal border expressed in pixels.
> + * Should be > 0.
> + * @max_vborder: maximum size of the vertical border expressed in pixels.
> + * Shoul...
2018 May 11
5
[PATCH v2 0/4] drm/connector: Provide generic support for underscan
Hello,
This is an attempt at providing generic support for underscan connector
props. We already have 3 drivers defining the same underscan, underscan
vborder and underscan hborder properties (amd, radeon and nouveau) and
I am about to add a new one, hence my proposal to put the prop parsing
code in the core and add ->underscan fields to drm_connector_state.
In this v2, I also converted the
2018 Dec 03
2
[PATCH v3 1/3] drm/connector: Add generic underscan properties
...ode_create_dvi_i_properties(struct drm_device *dev);
> int drm_mode_create_tv_properties(struct drm_device *dev,
> unsigned int num_modes,
> const char * const modes[]);
> +int drm_connector_attach_underscan_properties(struct drm_connector *connector,
> + u32 mode_mask, u64 max_hborder,
> + u64 max_vborder);
> int drm_mode_create_scaling_mode_property(struct drm_device *dev);
> int drm_connector_attach_content_type_property(struct drm_connector *dev);
> int drm_connector_attach_scaling_mode_property(struct drm_connector *connector,
> -...
2018 Dec 03
0
[PATCH v3 1/3] drm/connector: Add generic underscan properties
...es(struct drm_device *dev);
> > int drm_mode_create_tv_properties(struct drm_device *dev,
> > unsigned int num_modes,
> > const char * const modes[]);
> > +int drm_connector_attach_underscan_properties(struct drm_connector *connector,
> > + u32 mode_mask, u64 max_hborder,
> > + u64 max_vborder);
> > int drm_mode_create_scaling_mode_property(struct drm_device *dev);
> > int drm_connector_attach_content_type_property(struct drm_connector *dev);
> > int drm_connector_attach_scaling_mode_property(struct drm_connecto...