Return-Path: Received: from ksp.mff.cuni.cz ([195.113.26.206]:47011 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752296Ab0DXFZs (ORCPT ); Sat, 24 Apr 2010 01:25:48 -0400 Date: Sat, 24 Apr 2010 07:25:45 +0200 From: Pavel Machek Subject: Re: [PATCH 2/2] drivers: video: msm: add include msm_mdp.h Message-ID: <20100424052545.GB2054@elf.ucw.cz> References: <> <1272064821-15170-1-git-send-email-dwalker@codeaurora.org> <1272064821-15170-2-git-send-email-dwalker@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1272064821-15170-2-git-send-email-dwalker@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: Daniel Walker Cc: linux-arm-msm@vger.kernel.org Hi! > Needed to get the driver to compile ;( > > Signed-off-by: Daniel Walker > --- > include/linux/msm_mdp.h | 86 +++++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 86 insertions(+), 0 deletions(-) > create mode 100644 include/linux/msm_mdp.h > > + MDP_RGB_565, // RGB 565 planer planar? Also avaoid C++ comments here. > + MDP_XRGB_8888, // RGB 888 padded > + MDP_Y_CBCR_H2V2, // Y and CbCr, pseudo planer w/ Cb is in MSB > + MDP_ARGB_8888, // ARGB 888 > + MDP_RGB_888, // RGB 888 planer > + MDP_Y_CRCB_H2V2, // Y and CrCb, pseudo planer w/ Cr is in MSB > + MDP_YCRYCB_H2V1, // YCrYCb interleave > + MDP_Y_CRCB_H2V1, // Y and CrCb, pseduo planer w/ Cr is in MSB > + MDP_Y_CBCR_H2V1, // Y and CrCb, pseduo planer w/ Cr is in> MSB misaligned? > + MDP_RGBA_8888, // ARGB 888 > + MDP_BGRA_8888, // ARGB 888 really? > +struct mdp_rect { > + uint32_t x; > + uint32_t y; > + uint32_t w; > + uint32_t h; > +}; Better just use u32. And u32 x,y,w,h; would be quite enough. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html