From: Jesse Barnes Subject: Re: [PATCH] drm: parse color format support for digital displays Date: Fri, 15 Apr 2011 12:27:52 -0700 Message-ID: <20110415122752.59d90130@jbarnes-desktop> References: <1302892813-4529-1-git-send-email-jbarnes@virtuousgeek.org> <4DA898BE.90506@redhat.com> <20110415121931.42a24970@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cpoproxy1-pub.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by gabe.freedesktop.org (Postfix) with SMTP id D88EF9E758 for ; Fri, 15 Apr 2011 12:28:13 -0700 (PDT) In-Reply-To: <20110415121931.42a24970@jbarnes-desktop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Jesse Barnes Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Fri, 15 Apr 2011 12:19:31 -0700 Jesse Barnes wrote: > On Fri, 15 Apr 2011 15:13:02 -0400 > Adam Jackson wrote: > > info->color_formats = DRM_COLOR_FORMAT_RGB444; > > if (edid->features & DRM_EDID_FEATURE_YCRCB444) > > info->color_formats |= DRM_COLOR_FORMAT_YCBCR444; > > if (edid->features & DRM_EDID_FEATURE_YCRCB422) > > info->color_formats |= DRM_COLOR_FORMAT_YCBCR422; > > > > ... which is corrected to not include RGB uselessly in the > > DRM_EDID_FEATURE_* tokens. I should have noticed that in your first > > patch, whoops. > > I don't think EDID supports that? The docs I have here imply that > either RGB, RGB + YCrCb444 or RGB + YCrCb444 + YCrCb422 are the only > things we can report. > > Or is there a CEA block extension that allows for more granularity? Nevermind, I even had the define correct, I just missed it when adding the conditionals. Will fix things to look like the above as it's nicer than doing the switch. Thanks, -- Jesse Barnes, Intel Open Source Technology Center