From patchwork Fri Nov 13 10:29:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 7610271 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 22947BF90C for ; Fri, 13 Nov 2015 10:35:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 51F0F20776 for ; Fri, 13 Nov 2015 10:35:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 57A502075F for ; Fri, 13 Nov 2015 10:35:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933023AbbKMKfb (ORCPT ); Fri, 13 Nov 2015 05:35:31 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.219]:60980 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932977AbbKMKf1 (ORCPT ); Fri, 13 Nov 2015 05:35:27 -0500 X-Greylist: delayed 375 seconds by postgrey-1.27 at vger.kernel.org; Fri, 13 Nov 2015 05:35:27 EST DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1447410925; l=1042; s=domk; d=goldelico.com; h=References:In-Reply-To:References:In-Reply-To:Date:Subject:Cc:To: From; bh=ZZ+XFJ6BSQiHe7D9KjYaLf7VifVw6zMIDgxIkU6J9xg=; b=bcCCzbsDS36e7oBdQoWYsWYSjNCeMq4n2X+Xnl1RrEff3SxYlHg9lKHiaiPJOvpNsup Y8GzbZ8ZqjjfATsCo94ys2yp8ckJ3KvP5a3ogAtYiEv4rMTNrx+bdUSfMFTjdNHSp8zZg Ai21WHR2UlOa4GAX6BiOA7qgFbcqjlaTjBw= X-RZG-AUTH: :JGIXVUS7cutRB/49FwqZ7WcecEarQROEYabkiUo6mSAGQ+qKIDwoJUOY X-RZG-CLASS-ID: mo00 Received: from localhost.localdomain (p57AE024B.dip0.t-ipconnect.de [87.174.2.75]) by smtp.strato.de (RZmta 37.14 DYNA|AUTH) with ESMTPA id I07d71rADAT9r25; Fri, 13 Nov 2015 11:29:09 +0100 (CET) From: "H. Nikolaus Schaller" To: David Airlie , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Laurent Pinchart Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, gta04-owner@goldelico.com, notasas@gmail.com, "H. Nikolaus Schaller" Subject: [PATCH 2/2] video:omapdrm: make omapdrm assume the tv-out cable is always connected Date: Fri, 13 Nov 2015 11:29:08 +0100 Message-Id: <5942ddb7ab4f42f207c6c2b54be31a3d9fe3b912.1447410544.git.hns@goldelico.com> X-Mailer: git-send-email 2.5.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Include VENC in the set of drivers where it is assimed that the cable is always connected. Like DPI, DSI, DBI and SDI do. Otherwise, the VENC will return cable status "unknown" and is not enabled by the X-server. So there is no video output signal. Tested on: BeagleBoard XM, GTA04 and OpenPandora Signed-off-by: H. Nikolaus Schaller --- drivers/gpu/drm/omapdrm/omap_connector.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/omapdrm/omap_connector.c b/drivers/gpu/drm/omapdrm/omap_connector.c index 83f2a91..98ddb5d 100644 --- a/drivers/gpu/drm/omapdrm/omap_connector.c +++ b/drivers/gpu/drm/omapdrm/omap_connector.c @@ -120,6 +120,7 @@ static enum drm_connector_status omap_connector_detect( else ret = connector_status_disconnected; } else if (dssdev->type == OMAP_DISPLAY_TYPE_DPI || + dssdev->type == OMAP_DISPLAY_TYPE_VENC || dssdev->type == OMAP_DISPLAY_TYPE_DBI || dssdev->type == OMAP_DISPLAY_TYPE_SDI || dssdev->type == OMAP_DISPLAY_TYPE_DSI) {