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: 2110591 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 9E4DDDFB7B for ; Thu, 7 Feb 2013 12:29:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 54CC7E63D9 for ; Thu, 7 Feb 2013 04:29:31 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by gabe.freedesktop.org (Postfix) with ESMTP id 22EBDE603B for ; Thu, 7 Feb 2013 03:49:23 -0800 (PST) Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MHU00775M6ABPX0@mailout2.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 07 Feb 2013 20:49:22 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.122]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 3C.05.03880.2C493115; Thu, 07 Feb 2013 20:49:22 +0900 (KST) X-AuditID: cbfee61b-b7fb06d000000f28-7c-511394c226e4 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7B.05.03880.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> for dri-devel@lists.freedesktop.org; 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 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+NgFrrNLMWRmVeSWpSXmKPExsWyRsSkSvfQFOFAg5NPeC2ufH3P5sDocb/7 OFMAYxSXTUpqTmZZapG+XQJXxqxpE9gLJopXdB89y9LAuESoi5GTQ0LARGLipg1MELaYxIV7 69m6GLk4hASWMkrc3TqBGaZo2ZTJYEVCAosYJY7eCYMo2sgkcWrvVnaQBJuArsTsg88YQWwR gRqJuV93gE1iFtjHKDGz+SZYkbBAosTPXetYQGwWAVWJg3PWADVwcPAKuEusveoEsUxO4sOe R+wgvRICe9gkZt+YDVUvIPFt8iEWkHoJAVmJTQegjpOUOLjiBssERsEFjAyrGEVTC5ILipPS c430ihNzi0vz0vWS83M3MQKD6vS/Z9I7GFc1WBxiFOBgVOLhvblUKFCINbGsuDL3EKMEB7OS CO/JGuFAId6UxMqq1KL8+KLSnNTiQ4zJQMsnMkuJJucDAz6vJN7Q2MTc1NjU0sjIzNSUNGEl cV7GU08ChATSE0tSs1NTC1KLYLYwcXBKNTDGfdLXucbb/rTU5pOmtiKXW9FybkntR4vVfPbe sbqQlCvrHHlTyPCK3+vLat+lLhxVDr6VqP9q2ZGYafZsYfdPrHubsYRp6rEqDfXT5S0L3m85 dzyn7wPHPdfHj/ZcTzX988BgUrTh5bjVEb4XNSt25sx9sX8393/HxV5p17dW8mlcM1O9c7NC iaU4I9FQi7moOBEAqWuU624CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupikeLIzCtJLcpLzFFi42I5/e+xgO7BKcKBBr/mmllc+fqezYHR4373 caYAxqgGRpuM1MSU1CKF1Lzk/JTMvHRbJe/geOd4UzMDQ11DSwtzJYW8xNxUWyUXnwBdt8wc oLFKCmWJOaVAoYDE4mIlfTtME0JD3HQtYBojdH1DguB6jAzQQMIaxoxZ0yawF0wUr+g+epal gXGJUBcjJ4eEgInEsimTmSBsMYkL99azgdhCAosYJY7eCeti5AKyNzJJnNq7lR0kwSagKzH7 4DNGEFtEoEZi7tcdbCBFzAL7GCVmNt8EKxIWSJT4uWsdC4jNIqAqcXDOGqAGDg5eAXeJtVed IJbJSXzY84h9AiP3AkaGVYyiqQXJBcVJ6blGesWJucWleel6yfm5mxjBIftMegfjqgaLQ4wC HIxKPLw3lwoFCrEmlhVX5h5ilOBgVhLhPVkjHCjEm5JYWZValB9fVJqTWnyIMRlo+URmKdHk fGA85ZXEGxqbmJsam1qaWJiYWZImrCTOy3jqSYCQQHpiSWp2ampBahHMFiYOTqkGxoV1fXlq t9+d+2P7jUHyxmdNZ/anx1R1LJ4z3g6x+b5bru/EW7GFM77eTdkfV2G36dA6rrhNkuKXA14n Sncu5dGpWG9l3xPYmVyfFeMXIPBPIDxalun/Mt5A1cpkr7Na4jyVMnmcPyrkzwsXN2f2HNnz I1LXNH+LVNOS2atXMez6m5ul+iNKiaU4I9FQi7moOBEAosZb6p0CAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Thu, 07 Feb 2013 04:25:49 -0800 Cc: broonie@opensource.wolfsonmicro.com, joshi@samsung.com, kyungmin.park@samsung.com, tomi.valkeinen@ti.com, laurent.pinchart@ideasonboard.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.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