From patchwork Thu Feb 7 12:09:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 2110161 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 3358A3FCD5 for ; Thu, 7 Feb 2013 11:49:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753804Ab3BGLtY (ORCPT ); Thu, 7 Feb 2013 06:49:24 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:21179 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752159Ab3BGLtX (ORCPT ); Thu, 7 Feb 2013 06:49:23 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MHU00LS3M66NWJ0@mailout1.samsung.com>; Thu, 07 Feb 2013 20:49:22 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id C4.FA.03918.2C493115; Thu, 07 Feb 2013 20:49:22 +0900 (KST) X-AuditID: cbfee61a-b7f7d6d000000f4e-e2-511394c2b032 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 04.FA.03918.1C493115; Thu, 07 Feb 2013 20:49:21 +0900 (KST) Received: from chrome-ubuntu.sisodomain.com ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MHU00F7OM3VS500@mmp1.samsung.com>; Thu, 07 Feb 2013 20:49:21 +0900 (KST) From: Rahul Sharma To: linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, alsa-devel@alsa-project.org, linux-fbdev@vger.kernel.org Cc: tomi.valkeinen@ti.com, laurent.pinchart@ideasonboard.com, broonie@opensource.wolfsonmicro.com, inki.dae@samsung.com, kyungmin.park@samsung.com, r.sh.open@gmail.com, joshi@samsung.com Subject: [RFC PATCH v2 2/5] drm/edid: temporarily exposing generic edid-read interface from drm Date: Thu, 07 Feb 2013 07:09:11 -0500 Message-id: <1360238951-7022-1-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.8.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRmVeSWpSXmKPExsWyRsSkTvfQFOFAg3XHeSxO9H1gtejZsJXV gcnj8ya5AMYoLpuU1JzMstQifbsEroxZ0yawF0wUr+g+epalgXGJUBcjJ4eEgInEm+b77BC2 mMSFe+vZuhi5OIQEljJKbP9ynhWmaOuG78wQiUWMEn/3trFCOL1MEk+frmECqWIT0JWYffAZ I4gtIlAjMffrDrBRzAL7GCVmNt8E2yEskCjxc9c6FhCbRUBV4uCcNUANHBy8Au4Sa686QWyT k/iw5xE7SK+EwBE2iRk757BC1AtIfJt8iAWkXkJAVmLTAWaIekmJgytusExgFFzAyLCKUTS1 ILmgOCk911CvODG3uDQvXS85P3cTIzC8Tv97JrWDcWWDxSFGAQ5GJR7eG0uFAoVYE8uKK3MP MUpwMCuJ8J6sEQ4U4k1JrKxKLcqPLyrNSS0+xJgMtHwis5Rocj4w9PNK4g2NTcxNjU0tjYzM TE1JE1YS52U89SRASCA9sSQ1OzW1ILUIZgsTB6dUA6PFofxluQletQbfHN6ervj6cLPLnKil lpLrQo3EN69wSpnNsnn6ljsKPb81Vnklvt9h1SupIbBMU/z0Ki1VA2XNl5ZzhWbX5x9O51ry ebGSuSZPc+haTq7YGu/YLcFyizdVzdm8feb2zyG8HRdvObELJnmsev+sbdL5X26dbyW2rJow sUWr57kSS3FGoqEWc1FxIgCusgAlcwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnkeLIzCtJLcpLzFFi42I5/e+xgO7BKcKBBsduWFic6PvAatGzYSur A5PH501yAYxRDYw2GamJKalFCql5yfkpmXnptkrewfHO8aZmBoa6hpYW5koKeYm5qbZKLj4B um6ZOUCjlRTKEnNKgUIBicXFSvp2mCaEhrjpWsA0Ruj6hgTB9RgZoIGENYwZs6ZNYC+YKF7R ffQsSwPjEqEuRk4OCQETia0bvjND2GISF+6tZ+ti5OIQEljEKPF3bxsrhNPLJPH06RomkCo2 AV2J2QefMYLYIgI1EnO/7gDrYBbYxygxs/kmO0hCWCBR4ueudSwgNouAqsTBOWuAGjg4eAXc JdZedYLYJifxYc8j9gmM3AsYGVYxiqYWJBcUJ6XnGuoVJ+YWl+al6yXn525iBAfvM6kdjCsb LA4xCnAwKvHw3lgqFCjEmlhWXJl7iFGCg1lJhPdkjXCgEG9KYmVValF+fFFpTmrxIcZkoOUT maVEk/OBkZVXEm9obGJuamxqaWJhYmZJmrCSOC/jqScBQgLpiSWp2ampBalFMFuYODilGhjZ 85gkxflvPmL9HnA62GXxsUVLYgwFQz/lcojvPeb2+/zado0XSx6+azrxM/CqtGBxkYmQvUlN W8Lrm6Ya7IdeG01UMOH2nD2p767Q2c6IQxukTb08DQr/1LfPc5M9HMe/mzP/2xTttS6skaaP mq6JcN89Eiy3u8pRvW/miqJi54+tv022RSuxFGckGmoxFxUnAgCSU4uEogIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org It exposes generic interface from drm_edid.c to get the edid data and length by any display entity. Once I get clear idea about edid handling in CDF, I need to revert these temporary changes. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/drm_edid.c | 88 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 5a3770f..567a565 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -31,6 +31,7 @@ #include #include #include +#include