From patchwork Tue Oct 23 20:30:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulo Zanoni X-Patchwork-Id: 1633591 Return-Path: X-Original-To: patchwork-intel-gfx@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 B454EDF283 for ; Tue, 23 Oct 2012 20:39:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 93A329F760 for ; Tue, 23 Oct 2012 13:39:31 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-yh0-f49.google.com (mail-yh0-f49.google.com [209.85.213.49]) by gabe.freedesktop.org (Postfix) with ESMTP id AFA9B9F73A for ; Tue, 23 Oct 2012 13:30:53 -0700 (PDT) Received: by mail-yh0-f49.google.com with SMTP id j52so813033yhj.36 for ; Tue, 23 Oct 2012 13:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=IE2o3AwIoZx6BHzRPODUlDFB9PV02ldftceO4Y1diis=; b=t5SqFK1tfi+OHUB5Gg9PgzWY0EHAgisTOL0DwM5DBupW2sa7XTk7o22V+WsHpWiDpW 0Y9wOeMbcs3LRqFTUzlVHxL1XTR5aXdfEtqtC9rLXU+UFavnSlIaAt8hg8SdXJ7HoC37 vElHC916xZXha/o5MTYkJCw0ll7CfKckZKKycl8KCvA8rfHIYAPe6bghW+vyqNX9scTL rfS9+xKv/Zg+UibODexASdWYInDzSBHwFokHdhO69pACz6NKqf4aq4iQbfhy4exaUuA+ OQNPqIhTRYEaQDun+m0wcg+s1uHuI4xTUnQ6E6YiVcf8qPDNguyHJ7jNxeWq77DTvsdI jUiQ== Received: by 10.236.129.12 with SMTP id g12mr3515821yhi.77.1351024253546; Tue, 23 Oct 2012 13:30:53 -0700 (PDT) Received: from vicky.domain.invalid ([177.40.46.113]) by mx.google.com with ESMTPS id a44sm12892049yhe.21.2012.10.23.13.30.52 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 23 Oct 2012 13:30:53 -0700 (PDT) From: Paulo Zanoni To: intel-gfx@lists.freedesktop.org Date: Tue, 23 Oct 2012 18:30:08 -0200 Message-Id: <1351024208-3489-19-git-send-email-przanoni@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1351024208-3489-1-git-send-email-przanoni@gmail.com> References: <1351024208-3489-1-git-send-email-przanoni@gmail.com> Cc: Paulo Zanoni Subject: [Intel-gfx] [PATCH 18/18] drm/i915: enable DDI eDP X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org From: Paulo Zanoni Now that all the eDP enablement bits are there, we can actually try to use the eDP. Signed-off-by: Paulo Zanoni Reviewed-by: Rodrigo Vivi --- drivers/gpu/drm/i915/intel_ddi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index 47b52eb..760d290 100644 --- a/drivers/gpu/drm/i915/intel_ddi.c +++ b/drivers/gpu/drm/i915/intel_ddi.c @@ -242,8 +242,8 @@ void intel_ddi_init(struct drm_device *dev, enum port port) switch(port){ case PORT_A: - /* We don't handle eDP and DP yet */ DRM_DEBUG_DRIVER("Found digital output on DDI port A\n"); + intel_dp_init(dev, DDI_BUF_CTL_A, PORT_A); break; /* Assume that the ports B, C and D are working in HDMI mode for now */ case PORT_B: