From patchwork Thu Jan 28 19:23:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matt Roper X-Patchwork-Id: 12054427 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6AA80C433E0 for ; Thu, 28 Jan 2021 19:24:40 +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 E3BEC64E42 for ; Thu, 28 Jan 2021 19:24:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E3BEC64E42 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 1AC0C6E9D4; Thu, 28 Jan 2021 19:24:39 +0000 (UTC) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 229A96E9D3 for ; Thu, 28 Jan 2021 19:24:38 +0000 (UTC) IronPort-SDR: akQV4U3YS6DBRXUCrbGesRUQHbZQfIF98Lmxu1IkV4fuWZ9ZAtO185h/lc56QmiDitmL4H02n3 P9oew5n/DyNA== X-IronPort-AV: E=McAfee;i="6000,8403,9878"; a="244384028" X-IronPort-AV: E=Sophos;i="5.79,383,1602572400"; d="scan'208";a="244384028" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2021 11:24:37 -0800 IronPort-SDR: OSPncfO+PetZdIK1vWVSjPCbCcs4kakEHHZZLR5g/oWAXKxcF9iYgEQjGzlr1LNy8i6pCNtpha 51eeDUZdF0YQ== X-IronPort-AV: E=Sophos;i="5.79,383,1602572400"; d="scan'208";a="411110138" Received: from mdroper-desk1.fm.intel.com ([10.1.27.168]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2021 11:24:36 -0800 From: Matt Roper To: intel-gfx@lists.freedesktop.org Date: Thu, 28 Jan 2021 11:23:55 -0800 Message-Id: <20210128192413.1715802-1-matthew.d.roper@intel.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 00/18] Preliminary Display13 support X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Upcoming platforms will be using a "Display13" design. Despite the version number bump, Display13 is a pretty natural evolution from Display12 (which we've been using on TGL, RKL, DG1, and ADL-S). This series provides the basic Display13 support that isn't tied to a specific platform; any platforms incorporating the Display13 IP will have additional platform-specific display patches as well. Note that there are a few general Display13 changes that aren't included in this series and will be sent separately: * Tiled surfaces need to be mapped into the GGTT in a special way (using "Display Page Tables"). * Color management is programmed differently on Display13 (using a logarithmic scheme). Since this relates to some new DRM property uapi, we'll just leave color management mostly disabled in this series and enable the new logarithmic color management later. The changes for Display13 have some minor contextual conflicts with the ADL-S series that Aditya currently has in flight. Since the ADL-S patches will be landing any time now, I've based the patches here on top of the in-flight ADL-S patches. Juha-Pekka Heikkilä (1): drm/i915/display13: Support 128k plane stride Matt Roper (10): drm/i915/display13: add Display13 characteristics drm/i915/display13: Handle proper AUX interrupt bits drm/i915/display13: Enhanced pipe underrun reporting drm/i915/display13: Define plane capabilities drm/i915/display13: Only enable legacy gamma for now drm/i915/display13: Add Display13 power wells drm/i915/display13: Handle new location of outputs D and E drm/i915/display13: Increase maximum watermark lines to 255 drm/i915/display13: Required bandwidth increases when VT-d is active drm/i915/display13: Add Wa_14011503030:d13 Nischal Varide (1): drm/i915/display13: Enabling dithering after the CC1 pipe Uma Shankar (1): drm/i915/display13: Handle LPSP for Display 13 Vandita Kulkarni (5): drm/i915/display/dsc: Refactor intel_dp_dsc_compute_bpp drm/i915/display13: Support DP1.4 compression BPPs drm/i915/display13: Get slice height before computing rc params drm/i915/display13: Calculate VDSC RC parameters drm/i915/display13: Add rc_qp_table for rcparams calculation drivers/gpu/drm/i915/display/intel_bios.c | 8 +- drivers/gpu/drm/i915/display/intel_bw.c | 3 + drivers/gpu/drm/i915/display/intel_color.c | 16 + drivers/gpu/drm/i915/display/intel_ddi.c | 8 +- drivers/gpu/drm/i915/display/intel_display.c | 21 +- drivers/gpu/drm/i915/display/intel_display.h | 8 + .../drm/i915/display/intel_display_debugfs.c | 7 + .../drm/i915/display/intel_display_power.c | 426 +++++++++++++++++- drivers/gpu/drm/i915/display/intel_dp.c | 60 ++- drivers/gpu/drm/i915/display/intel_dp_aux.c | 14 +- .../drm/i915/display/intel_fifo_underrun.c | 55 ++- .../gpu/drm/i915/display/intel_qp_tables.h | 294 ++++++++++++ drivers/gpu/drm/i915/display/intel_sprite.c | 40 +- drivers/gpu/drm/i915/display/intel_vdsc.c | 123 ++++- drivers/gpu/drm/i915/i915_drv.h | 1 + drivers/gpu/drm/i915/i915_irq.c | 28 +- drivers/gpu/drm/i915/i915_pci.c | 22 + drivers/gpu/drm/i915/i915_reg.h | 29 +- drivers/gpu/drm/i915/intel_device_info.c | 2 +- drivers/gpu/drm/i915/intel_device_info.h | 2 + drivers/gpu/drm/i915/intel_pm.c | 15 +- 21 files changed, 1116 insertions(+), 66 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_qp_tables.h