Displaying 15 results from an estimated 15 matches for "underscan_mode_property".
2018 May 07
2
[PATCH 1/3] drm/connector: Add generic underscan properties
...a/drivers/gpu/drm/drm_atomic.c
> +++ b/drivers/gpu/drm/drm_atomic.c
> @@ -1278,6 +1278,12 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector,
> return -EINVAL;
> }
> state->content_protection = val;
> + } else if (property == connector->underscan_mode_property) {
> + state->underscan.mode = val;
> + } else if (property == connector->underscan_hborder_property) {
> + state->underscan.hborder = val;
> + } else if (property == connector->underscan_vborder_property) {
> + state->underscan.vborder = val;
> } else if (conn...
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
...> > +++ b/drivers/gpu/drm/drm_atomic.c
> > @@ -1278,6 +1278,12 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector,
> > return -EINVAL;
> > }
> > state->content_protection = val;
> > + } else if (property == connector->underscan_mode_property) {
> > + state->underscan.mode = val;
> > + } else if (property == connector->underscan_hborder_property) {
> > + state->underscan.hborder = val;
> > + } else if (property == connector->underscan_vborder_property) {
> > + state->underscan.vborder = va...
2018 May 07
0
[PATCH 1/3] drm/connector: Add generic underscan properties
...6e21..b7312bd172c9 100644
--- a/drivers/gpu/drm/drm_atomic.c
+++ b/drivers/gpu/drm/drm_atomic.c
@@ -1278,6 +1278,12 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector,
return -EINVAL;
}
state->content_protection = val;
+ } else if (property == connector->underscan_mode_property) {
+ state->underscan.mode = val;
+ } else if (property == connector->underscan_hborder_property) {
+ state->underscan.hborder = val;
+ } else if (property == connector->underscan_vborder_property) {
+ state->underscan.vborder = val;
} else if (connector->funcs->atomic_set...
2018 Dec 03
2
[PATCH v3 1/3] drm/connector: Add generic underscan properties
On Thu, Nov 22, 2018 at 12:23:29PM +0100, Boris Brezillon wrote:
> @@ -924,6 +978,29 @@ struct drm_connector {
> */
> struct drm_property_blob *path_blob_ptr;
>
> + /**
> + * @underscan_mode_property: Optional connector underscan mode. Used by
> + * the driver to scale the output image and compensate an overscan done
> + * on the display side.
> + */
> + struct drm_property *underscan_mode_property;
> +
> + /**
> + * @underscan_hborder_property: Optional connector under...
2018 Nov 22
0
[PATCH v3 1/3] drm/connector: Add generic underscan properties
...ivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -740,6 +740,12 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector,
return set_out_fence_for_connector(state->state, connector,
fence_ptr);
+ } else if (property == connector->underscan_mode_property) {
+ state->underscan.mode = val;
+ } else if (property == connector->underscan_hborder_property) {
+ state->underscan.hborder = val;
+ } else if (property == connector->underscan_vborder_property) {
+ state->underscan.vborder = val;
} else if (connector->funcs->atomic_set...
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 May 07
2
[PATCH 1/3] drm/connector: Add generic underscan properties
...a/drivers/gpu/drm/drm_atomic.c
> +++ b/drivers/gpu/drm/drm_atomic.c
> @@ -1278,6 +1278,12 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector,
> return -EINVAL;
> }
> state->content_protection = val;
> + } else if (property == connector->underscan_mode_property) {
> + state->underscan.mode = val;
> + } else if (property == connector->underscan_hborder_property) {
> + state->underscan.hborder = val;
> + } else if (property == connector->underscan_vborder_property) {
> + state->underscan.vborder = val;
> } else if (conn...
2018 Nov 22
1
[PATCH v3 1/3] drm/connector: Add generic underscan properties
...c_uapi.c
>+++ b/drivers/gpu/drm/drm_atomic_uapi.c
>@@ -740,6 +740,12 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector,
>
> return set_out_fence_for_connector(state->state, connector,
> fence_ptr);
>+ } else if (property == connector->underscan_mode_property) {
>+ state->underscan.mode = val;
>+ } else if (property == connector->underscan_hborder_property) {
>+ state->underscan.hborder = val;
>+ } else if (property == connector->underscan_vborder_property) {
>+ state->underscan.vborder = val;
> } else if (connector-...
2018 Dec 03
1
[PATCH v3 1/3] drm/connector: Add generic underscan properties
...at linux.intel.com> wrote:
>
>> On Thu, Nov 22, 2018 at 12:23:29PM +0100, Boris Brezillon wrote:
>> > @@ -924,6 +978,29 @@ struct drm_connector {
>> > */
>> > struct drm_property_blob *path_blob_ptr;
>> >
>> > + /**
>> > + * @underscan_mode_property: Optional connector underscan mode. Used by
>> > + * the driver to scale the output image and compensate an overscan done
>> > + * on the display side.
>> > + */
>> > + struct drm_property *underscan_mode_property;
>> > +
>> > + /**
>>...
2018 May 07
2
[PATCH 1/3] drm/connector: Add generic underscan properties
...b/drivers/gpu/drm/drm_atomic.c
>>> @@ -1278,6 +1278,12 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector,
>>> return -EINVAL;
>>> }
>>> state->content_protection = val;
>>> + } else if (property == connector->underscan_mode_property) {
>>> + state->underscan.mode = val;
>>> + } else if (property == connector->underscan_hborder_property) {
>>> + state->underscan.hborder = val;
>>> + } else if (property == connector->underscan_vborder_property) {
>>> + state->undersc...
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
0
[PATCH v3 1/3] drm/connector: Add generic underscan properties
...Ville Syrjälä <ville.syrjala at linux.intel.com> wrote:
> On Thu, Nov 22, 2018 at 12:23:29PM +0100, Boris Brezillon wrote:
> > @@ -924,6 +978,29 @@ struct drm_connector {
> > */
> > struct drm_property_blob *path_blob_ptr;
> >
> > + /**
> > + * @underscan_mode_property: Optional connector underscan mode. Used by
> > + * the driver to scale the output image and compensate an overscan done
> > + * on the display side.
> > + */
> > + struct drm_property *underscan_mode_property;
> > +
> > + /**
> > + * @underscan_hborder...
2018 May 07
0
[PATCH 1/3] drm/connector: Add generic underscan properties
...> > +++ b/drivers/gpu/drm/drm_atomic.c
> > @@ -1278,6 +1278,12 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector,
> > return -EINVAL;
> > }
> > state->content_protection = val;
> > + } else if (property == connector->underscan_mode_property) {
> > + state->underscan.mode = val;
> > + } else if (property == connector->underscan_hborder_property) {
> > + state->underscan.hborder = val;
> > + } else if (property == connector->underscan_vborder_property) {
> > + state->underscan.vborder = va...
2018 May 08
0
[PATCH 1/3] drm/connector: Add generic underscan properties
...,6 +1278,12 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector,
>>>> return -EINVAL;
>>>> }
>>>> state->content_protection = val;
>>>> + } else if (property == connector->underscan_mode_property) {
>>>> + state->underscan.mode = val;
>>>> + } else if (property == connector->underscan_hborder_property) {
>>>> + state->underscan.hborder = val;
>>>> + } else if (property == connector->underscan_vborder_propert...