From patchwork Mon Oct 14 11:01:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kulkarni, Vandita" X-Patchwork-Id: 11188339 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1DEEC15AB for ; Mon, 14 Oct 2019 11:30:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 05F5120673 for ; Mon, 14 Oct 2019 11:30:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 05F5120673 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 136316E27C; Mon, 14 Oct 2019 11:30:43 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E6E96E27C for ; Mon, 14 Oct 2019 11:30:40 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Oct 2019 04:30:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,295,1566889200"; d="scan'208";a="185465842" Received: from vandita-desktop.iind.intel.com ([10.223.74.218]) by orsmga007.jf.intel.com with ESMTP; 14 Oct 2019 04:30:37 -0700 From: Vandita Kulkarni To: intel-gfx@lists.freedesktop.org Date: Mon, 14 Oct 2019 16:31:15 +0530 Message-Id: <20191014110122.31923-1-vandita.kulkarni@intel.com> X-Mailer: git-send-email 2.21.0.5.gaeb582a MIME-Version: 1.0 Subject: [Intel-gfx] [RFC 0/7] Add mipi dsi command mode support. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jani.nikula@intel.com Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" This series has mainly patches to configure the dsi in command mode, TE event handling and initiate a frame request to the panel. Floating the RFC for review wrt the above mentioned implementation. For now we are configuring the MIPI DSI to operate in TE gate mode and take TE events via GPIO. There are few places that needs to be fixed to handle, cases where mpi dsi could be operating in single link cmd mode on port B. I have tested dual link with this series on icl-y. There is one open wrt flipdone which needs to be fixed. This is WIP. Madhav Chauhan (1): drm/i915/dsi: Helper to find dsi encoder in cmd mode Vandita Kulkarni (6): drm/i915/dsi: Define command mode registers drm/i915/dsi: Configure transcoder operation for command mode. drm/i915/dsi: Add vblank calculation for command mode drm/i915/dsi: Configure TE interrupt for cmd mode drm/i915/dsi: Add TE handler for dsi cmd mode. drm/i915/dsi: Initiate frame request in cmd mode drivers/gpu/drm/i915/display/icl_dsi.c | 132 +++++++++++++++--- drivers/gpu/drm/i915/display/intel_display.c | 16 +++ .../drm/i915/display/intel_display_types.h | 3 + drivers/gpu/drm/i915/display/intel_dsi.h | 6 + drivers/gpu/drm/i915/i915_irq.c | 110 ++++++++++++++- drivers/gpu/drm/i915/i915_reg.h | 76 ++++++++-- 6 files changed, 315 insertions(+), 28 deletions(-)