Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2207626imu; Wed, 21 Nov 2018 08:11:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/UCMLMmkcXO22Ezkj7moQISutkdP5D+ge9b6woJx6ZrtYC9tAkqEBDoaDATtaUlMSKKgubB X-Received: by 2002:a17:902:7848:: with SMTP id e8mr7635989pln.100.1542816684026; Wed, 21 Nov 2018 08:11:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542816683; cv=none; d=google.com; s=arc-20160816; b=KyJ+g4THrza++Z4IJVgMHwxdrcc0is3oOR8WmigsJf/F344RQasF56EtvG4aKHcVa2 uqUUnceZ51uAwu0/ksHBRXwEI+UaBbuwit0E8/WYRSu0eFosOGNCnBCrzVvNoT7udjaL 7BFWzJR7ebTqkeCWLo8d7KWvwPEJlsSnlwF9Voj91MFSh2tE7w2bcx+b5zhMriUbPLdp d8O7XjSbCULUx9XYduofdla0P1cnju0aORrDoy2Jz6T1HJgUz/FGEqIVI0hb/EA+/lGy fEJhdLxdogZ869OfV2LhOTzLaGyLM+7adC34e5j2SUnTnhaEl6kED3hpN/hyLJog/o8i sOEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=nUhlxv2YhyKZloFByeFWGOCw2ZqDieCuhWFDLPFlylw=; b=nUkpPdz4BPUETRJeUyT9By2LUy1iQADYbCqZhzwph1izG7dSGAZDcBge7L00js+UMM G+wQ/WbdwvK5kdyd8hq73GQPEvCOrxZU3n/dtVQ44Gap5YpyRerBAV/5Y3DWY1GBJyLW sCk6JUJ3/rs117K/QGZYfJMtpasWZg/pkGkVAM6B2mC/eiFHnET5h3meccilK/kaaI87 LsvibQptP1LsJZtKM4RK+Pi1dpuR01N7V+L6LDx0BnGzr1RbnTxMYSOcVGUlhq5i9dQL XPsf8gJs3khn2kC222wB0Iq3Uvz0XmOIA5OWjRk6d7SLaZY1aQmWmGkWhuTe8jC9KYyc uoIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si3632145pla.351.2018.11.21.08.10.44; Wed, 21 Nov 2018 08:11:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731721AbeKVCo0 (ORCPT + 99 others); Wed, 21 Nov 2018 21:44:26 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:49152 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731421AbeKVCo0 (ORCPT ); Wed, 21 Nov 2018 21:44:26 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 9932D260A1E From: Sebastian Reichel To: Sebastian Reichel , Tomi Valkeinen , Tony Lindgren , Pavel Machek , Laurent Pinchart Cc: "H. Nikolaus Schaller" , dri-devel@lists.freedesktop.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Sebastian Reichel Subject: [PATCHv5 0/6] omapdrm: DSI command mode panel support Date: Wed, 21 Nov 2018 17:09:10 +0100 Message-Id: <20181121160916.22017-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Here is another round of the DSI command mode panel patchset integrating the feedback from PATCHv4. The patches are based on 4.20-rc1 + fixes from Laurent and Tony. I dropped the patches for OMAP3 support (it needs a workaround for a hardware bug) and for automatic display rotation. They should get their own series, once this patchset has landed. Tested on Droid 4: * Framebuffer Console, updated at 1Hz due to blinking cursor * Display blanking * Xorg 1.19 with modesetting driver * Weston 5.0 with DRM backend * kmstest (static image) * No updates send when nothing needs to be sent Known issues: * OMAP3 is untested and most likely broken due to missing workaround(s) for hardware bugs. * Weston 5.0 with fbdev backend does not work, since it uses neither page flip nor dirty ioctl. You need to use the drm backend. Changes since PATCHv4: * Apply Acked-/Tested-by received from Tony and Pavel * Fix spelling/wording in commit messagess * Use proper multi-line comments * Restructure patch 4: move the whole HDMI block into a static sub-function, that is only called when output type is HDMI. Also drop the incorrect check for DVI. Changes since PATCHv3: * Drop all Tested/Acked-by tags * Drop the rotation patches for now * Rebase to 4.20-rc1 + fixes from Laurent and Tony * Add fixes for DSI regressions introduced in 4.20-rc1 * Store info update manual update mode in omap_crtc_state * Lock modesetting in omap_framebuffer_dirty * Directly loop through CRTCs instead of connectors in dirty function * Properly refresh display during page flips and get Weston working * Add more comments about implementation details Changes since PATCHv2: * Drop omap3 quirk patch (OMAP3 should get its own mini-series) * Rebase to current linux-next * Use existing 'rotation' DT property to set DRM orientation hint * Add Tested-by from Tony Changes since PATCHv1: * Drop patches, that were queued by Tomi * Rebase to current master * Rework the omap3 workaround patch to only affect omap3 * Add orientation DRM property support -- Sebastian Sebastian Reichel (6): drm/omap: use DRM_DEBUG_DRIVER instead of CORE drm/omap: populate DSI platform bus earlier drm/omap: don't check dispc timings for DSI drm/omap: fix incorrect union usage drm/omap: add framedone interrupt support drm/omap: add support for manually updated displays drivers/gpu/drm/omapdrm/dss/dsi.c | 20 +-- drivers/gpu/drm/omapdrm/omap_connector.c | 8 +- drivers/gpu/drm/omapdrm/omap_crtc.c | 167 ++++++++++++++++++++++- drivers/gpu/drm/omapdrm/omap_crtc.h | 2 + drivers/gpu/drm/omapdrm/omap_drv.h | 4 +- drivers/gpu/drm/omapdrm/omap_encoder.c | 70 ++++++---- drivers/gpu/drm/omapdrm/omap_fb.c | 41 ++++++ drivers/gpu/drm/omapdrm/omap_irq.c | 25 ++++ drivers/gpu/drm/omapdrm/omap_irq.h | 1 + 9 files changed, 290 insertions(+), 48 deletions(-) -- 2.19.1