[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170518094956.GY12629@intel.com>
Date: Thu, 18 May 2017 12:49:56 +0300
From: Ville Syrjälä <ville.syrjala@...ux.intel.com>
To: Robert Foss <robert.foss@...labora.com>
Cc: liviu.dudau@....com, brian.starkey@....com, malidp@...s.arm.com,
airlied@...ux.ie, linux@...linux.org.uk,
boris.brezillon@...e-electrons.com, daniel.vetter@...el.com,
jani.nikula@...ux.intel.com, seanpaul@...omium.org,
p.zabel@...gutronix.de, robdclark@...il.com, bskeggs@...hat.com,
tomi.valkeinen@...com, linux-graphics-maintainer@...are.com,
syeh@...are.com, thellstrom@...are.com, architt@...eaurora.org,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
intel-gfx@...ts.freedesktop.org, linux-arm-msm@...r.kernel.org,
freedreno@...ts.freedesktop.org, nouveau@...ts.freedesktop.org,
Tomeu Vizoso <tomeu.vizoso@...labora.com>,
Emil Velikov <emil.l.velikov@...il.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Kristian Høgsberg <hoegsberg@...il.com>
Subject: Re: [PATCH v3] drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to
UAPI
On Wed, May 17, 2017 at 09:39:11PM -0400, Robert Foss wrote:
> +/*
> + * DRM_MODE_REFLECT_<axis>
> + *
> + * Signals that the contents of a drm plane has been reflected in
> + * the <axis> axis.
Still vague.
Also you didn't respond to my comment about the use of past tense.
> + *
> + * This define is provided as a convenience, looking up the property id
> + * using the name->prop id lookup is the preferred method.
> + */
> +#define DRM_MODE_REFLECT_X (1<<4)
> +#define DRM_MODE_REFLECT_Y (1<<5)
> +
> +/*
> + * DRM_MODE_REFLECT_MASK
> + *
> + * Bitmask used to look for drm plane reflections.
> + */
> +#define DRM_MODE_REFLECT_MASK (\
> + DRM_MODE_REFLECT_X | \
> + DRM_MODE_REFLECT_Y)
> +
> +
> struct drm_mode_modeinfo {
> __u32 clock;
> __u16 hdisplay;
> --
> 2.11.0.453.g787f75f05
--
Ville Syrjälä
Intel OTC
Powered by blists - more mailing lists