[PATCH v3 1/4] drm/crtc: Add property for aspect ratio

2014-06-10 Thread Vandana Kannan
On Jun-05-2014 2:58 PM, Thierry Reding wrote: > On Thu, Jun 05, 2014 at 02:40:08PM +0530, Vandana Kannan wrote: > [...] >> diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c > [...] >> /** >> + * drm_mode_create_aspect_ratio_property - create aspect ratio property >> + * @dev: DR

[PATCH v3 1/4] drm/crtc: Add property for aspect ratio

2014-06-10 Thread Thierry Reding
On Tue, Jun 10, 2014 at 02:00:37PM +0530, Vandana Kannan wrote: > On Jun-05-2014 2:58 PM, Thierry Reding wrote: > > On Thu, Jun 05, 2014 at 02:40:08PM +0530, Vandana Kannan wrote: > > [...] > >> diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c > > [...] > >> /** > >> + * drm_mo

[PATCH v3 1/4] drm/crtc: Add property for aspect ratio

2014-06-05 Thread Vandana Kannan
Added a property to enable user space to set aspect ratio. This patch contains declaration of the property and code to create the property. v2: Thierry's review comments. - Made aspect ratio enum generic instead of HDMI/CEA specfic - Removed usage of temporary aspect_ratio variable

[PATCH v3 1/4] drm/crtc: Add property for aspect ratio

2014-06-05 Thread Thierry Reding
On Thu, Jun 05, 2014 at 02:40:08PM +0530, Vandana Kannan wrote: [...] > diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c [...] > /** > + * drm_mode_create_aspect_ratio_property - create aspect ratio property > + * @dev: DRM device > + * > + * Called by a driver the first time i