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.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 558F9C433F5 for ; Mon, 6 Sep 2021 18:27:22 +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 1D2CE6103B for ; Mon, 6 Sep 2021 18:27:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1D2CE6103B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7B5EA899F2; Mon, 6 Sep 2021 18:27:21 +0000 (UTC) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id BA43F899F2 for ; Mon, 6 Sep 2021 18:27:19 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10099"; a="219713089" X-IronPort-AV: E=Sophos;i="5.85,273,1624345200"; d="scan'208";a="219713089" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2021 11:27:18 -0700 X-IronPort-AV: E=Sophos;i="5.85,273,1624345200"; d="scan'208";a="464124849" Received: from ideak-desk.fi.intel.com ([10.237.68.141]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2021 11:27:17 -0700 From: Imre Deak To: intel-gfx@lists.freedesktop.org Cc: Juha-Pekka Heikkila , Nanley G Chery Date: Mon, 6 Sep 2021 21:27:09 +0300 Message-Id: <20210906182715.3915100-1-imre.deak@intel.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Intel-gfx] [PATCH v2 0/6] drm/i915/adlp: Add support for remapping CCS FBs 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" This is v2 of [1] fixing the initialization of plane_alignment in patch 5 and issues reported by checkpatch, sparse. Also the last patch in this series adds a description to drm_fourcc.h about the main and CCS surface stride requirements for all CCS modifiers on ADL-P. The corresponding IGT changes are at: https://patchwork.freedesktop.org/series/94107/ [1] https://patchwork.freedesktop.org/series/94108/ Test-with: 20210906181736.3914421-1-imre.deak@intel.com Cc: Juha-Pekka Heikkila Cc: Nanley G Chery Imre Deak (6): drm/i915: Use tile block based dimensions for CCS origin x, y check drm/i915/adlp: Require always a power-of-two sized CCS surface stride drm/i915/adlp: Assert that VMAs in DPT start at 0 drm/i915: Follow a new->old platform check order in intel_fb_stride_alignment drm/i915/adlp: Add support for remapping CCS FBs drm/fourcc: Add the ADL-P specific pitch requirements of CCS modifiers drivers/gpu/drm/i915/display/intel_display.c | 5 +- .../drm/i915/display/intel_display_types.h | 2 - drivers/gpu/drm/i915/display/intel_fb.c | 171 ++++++++++++------ .../drm/i915/display/skl_universal_plane.c | 5 + drivers/gpu/drm/i915/gt/intel_ggtt.c | 29 ++- drivers/gpu/drm/i915/i915_vma_types.h | 7 +- include/uapi/drm/drm_fourcc.h | 24 ++- 7 files changed, 174 insertions(+), 69 deletions(-) -- 2.27.0