[RFC PATCH 1/8] drm: Add drm_format_num_planes() utility function

Dave Airlie airlied at gmail.com
Tue Dec 20 12:36:22 PST 2011


On Tue, Dec 20, 2011 at 7:55 PM, Rob Clark <robdclark at gmail.com> wrote:
> On Mon, Dec 19, 2011 at 4:33 PM,  <ville.syrjala at linux.intel.com> wrote:
>> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>>
>> This function returns the number of planes used by a specific pixel
>> format.
>
> btw, I end up with a very similar util fxn in omapdrm driver.. would
> be nice to have this in core to avoid duplicating in every driver
> supporting multi-planar
>
> Reviewed-by: Rob Clark <rob.clark at linaro.org>

Applied to -next.

Dave.


More information about the dri-devel mailing list