[Intel-gfx] Request for feedback : New Panel-fitter property for connectors

Goel, Akash akash.goel at intel.com
Wed Feb 26 14:32:44 CET 2014


To expose the panel fitter for arbitrary use by User-space, we will expose the manual scaling ratio & Input/Src size info to User, apart from the available scaling modes like Full screen, Centered, Aspect. 
Please suggest that how shall we extend the current interface to incorporate these extra info, considering the options we have .
DRM_MODE_PROP_ENUM
DRM_MODE_PROP_RANGE
DRM_MODE_PROP_BITMASK
DRM_MODE_PROP_BLOB

Best Regards
Akash

-----Original Message-----
From: Chris Wilson [mailto:chris at chris-wilson.co.uk] 
Sent: Thursday, February 20, 2014 1:41 PM
To: Ville Syrjälä
Cc: Goel, Akash; intel-gfx at lists.freedesktop.org
Subject: Re: [Intel-gfx] Request for feedback : New Panel-fitter property for connectors

On Wed, Feb 19, 2014 at 01:02:57PM +0200, Ville Syrjälä wrote:
> On Wed, Feb 19, 2014 at 09:33:11AM +0000, Goel, Akash wrote:
> > Thanks for your inputs.
> > 
> > Actually for our use cases, the 'scaling_mode' property currently being used for 'lvds' & 'dp', cannot be used as it is.
> > 
> > For our use cases, we need to provide a fine level control to User, so as to be able to choose the LetterBox/Pillar-box modes & also the Manual mode with horizontal & vertical scaling ratios.

You can extend the current interface to add the extra modes (letter, pillarbox, and later the manual toggle).

> > Please provide suggestions, that how we can extend/reuse the 'scaling_mode' property here. 
> 
> My plan is to somehow expose the panel fitter input and output sizes 
> explicitly at some point. The output size could be expose by adding 
> borders to the display mode structure (or some border properties if we 
> don't want to change the user visible mode struct). And the input size 
> could also be done via properties.

Agreed, this is how we have talked about exposing the panel fitter for arbitrary use by userspace (such as overscan compensation).
-Chris

--
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list