From patchwork Mon Feb 12 09:44:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 127959 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp3040228ljc; Mon, 12 Feb 2018 01:45:43 -0800 (PST) X-Google-Smtp-Source: AH8x225kcg/hf35VIEg1B9PSeumpwr0rogZRmt3wQ/R8q2JjMdoHNoI4njXffCs3wuv8DTaOeqYa X-Received: by 10.99.111.5 with SMTP id k5mr8894354pgc.444.1518428743501; Mon, 12 Feb 2018 01:45:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518428743; cv=none; d=google.com; s=arc-20160816; b=svNOyXDlVSdfT2pMFXdkm6SIie8onxG6WsztzHNptBZB7qVSgZMlLhb2AQUvHAMFdS zoQSxNkD9OVIQzuyKYKxWV3Bz0dtrs3VWljsZf0Ln7YNdlTGgjWLG3hWgSax+wCprj3g DgBEPhTLPcVYc6P11flyVVz7vTcQkbvie3KvcXTWolyEb/3OnrOplvdwEhBSNk5kRgKV Um1zIdMWsLzf7MLOtQRW1wnyGP3hWsdGW+jiMTtsGWmy1OXcIug/H2Vui/oAVlB5+yx8 WOltkNYM65gsqiIGY1qQwqOy7v9ivE+9TZmMzd9oVBwyyFBj2jFyeRAjz3w/pR2npgmy /7tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=YmGKchd1Hcp6KR4etLIMI2F/GCTdoOpo3ighm/qT3vs=; b=CTbIlr0CyjYxzEtVgna7CZnjXZ9ohWEVck8A6NYEfKLRZUgakeN6/DYTromdY6WpZj zecKOmMmZLytFysDmQe/xOMGWZQTEYpISNvtez9MqYWbDQaKiLjs4j+hnK1RaIkuk+S3 ld0a+yQcXkfZZhJ9BN+53NfMXhZetj9PIqKzLpeVmsKqv75OFqznx9CJ45s+XDggykGJ mEHgI/cqdBbWTcgqYyL5y7PdV4yJJtLewuO9t6edEag5NK8WgiO1nFni1wyycKy6450t tJ9izxJaL9u/AHWilMQoCXB9WTl7oL+izyAWHL+3g5LM9fXqzoHyE2ABhvVHak4iZXYb JrkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=W2s/psF2; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id y1si4951714pgs.358.2018.02.12.01.45.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Feb 2018 01:45:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=W2s/psF2; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9242D6E10D; Mon, 12 Feb 2018 09:45:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from lelnx194.ext.ti.com (lelnx194.ext.ti.com [198.47.27.80]) by gabe.freedesktop.org (Postfix) with ESMTPS id C5FA06E0FD for ; Mon, 12 Feb 2018 09:45:05 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w1C9j24H007749; Mon, 12 Feb 2018 03:45:02 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1518428702; bh=y25qm3DlV6arNbI4CkjvIi2MAKENWFrJcM+nn2UAFU4=; h=From:To:CC:Subject:Date; b=W2s/psF2ftOZ2CsCQpqCawyeQkFPkicuvvqN7RZY5uZ0WgLsZ2pDy+axAQDgb038g hZk0Csh5gK0dRfW1OiewjNOX+BHmEmWBYiCYjLbhV5Jo9kvZ8KRVTgMJ2wQd7wHN+N EC36WdXxn85VV8GvfjYVHVgTb14b4oReTFU2lXIg= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1C9j2SN018443; Mon, 12 Feb 2018 03:45:02 -0600 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Mon, 12 Feb 2018 03:45:02 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Mon, 12 Feb 2018 03:45:02 -0600 Received: from deskari.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1C9j0Mv003439; Mon, 12 Feb 2018 03:45:00 -0600 From: Tomi Valkeinen To: , Laurent Pinchart , Peter Ujfalusi , Jyri Sarha , Benoit Parrot Subject: [PATCH 00/24] drm/omap: misc patches Date: Mon, 12 Feb 2018 11:44:30 +0200 Message-ID: <1518428694-18018-1-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tomi Valkeinen Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, Here's a bunch of misc patches I forward ported from TI's kernel. I think some of the patches have already been sent for review earlier (Peter's), but I've included them all here. Tomi Benoit Parrot (2): drm/omap: dispc: disp_wb_setup to check return code drm/omap: Add pclk setting case when channel is DSS_WB Jyri Sarha (1): drm/omap: Allow HDMI audio setup even if we do not have video configured Peter Ujfalusi (8): drm/omap: Use devm_kzalloc() to allocate omap_drm_private drm/omap: Allocate drm_device earlier and unref it as last step drm/omap: Manage the usable omap_dss_device list within omap_drm_private drm/omap: Separate the dssdevs array setup from the connect function drm/omap: Do dss_device (display) ordering in omap_drv.c drm/omap: dss: Remove display ordering from dss/display.c drm/omap: Add kernel parameter to specify the desired display order drm/omap: Init fbdev emulation only when we have displays Tomi Valkeinen (13): drm/omap: fix omap_fbdev_free() when omap_fbdev_create() wasn't called drm/omap: cleanup fbdev init/free drm/omap: add HPD support to connector-dvi dt-bindings: display: add HPD gpio to DVI connector drm/omap: remove leftover enums drm/omap: set WB channel-in in wb_setup() drm/omap: fix WBDELAYCOUNT for HDMI drm/omap: fix WBDELAYCOUNT with interlace drm/omap: fix WB height with interlace drm/omap: fix scaling limits for WB drm/omap: add writeback funcs to dispc_ops drm/omap: fix maximum sizes drm/omap: cleanup color space conversion .../bindings/display/connector/dvi-connector.txt | 1 + drivers/gpu/drm/omapdrm/displays/connector-dvi.c | 114 +++++++++ drivers/gpu/drm/omapdrm/dss/dispc.c | 161 +++++++++---- drivers/gpu/drm/omapdrm/dss/display.c | 15 +- drivers/gpu/drm/omapdrm/dss/dss.h | 18 -- drivers/gpu/drm/omapdrm/dss/hdmi4.c | 33 ++- drivers/gpu/drm/omapdrm/dss/hdmi5.c | 37 ++- drivers/gpu/drm/omapdrm/dss/omapdss.h | 37 +-- drivers/gpu/drm/omapdrm/omap_drv.c | 260 +++++++++++++++------ drivers/gpu/drm/omapdrm/omap_drv.h | 3 + drivers/gpu/drm/omapdrm/omap_fbdev.c | 16 +- drivers/gpu/drm/omapdrm/omap_fbdev.h | 5 +- 12 files changed, 483 insertions(+), 217 deletions(-)