Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C84EC433EF for ; Tue, 26 Oct 2021 22:51:15 +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 2777A610A6 for ; Tue, 26 Oct 2021 22:51:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2777A610A6 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 8F4D96E4CD; Tue, 26 Oct 2021 22:51:12 +0000 (UTC) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 73AC36E4CA for ; Tue, 26 Oct 2021 22:51:10 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10149"; a="217203161" X-IronPort-AV: E=Sophos;i="5.87,184,1631602800"; d="scan'208";a="217203161" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2021 15:51:09 -0700 X-IronPort-AV: E=Sophos;i="5.87,184,1631602800"; d="scan'208";a="497574319" Received: from ideak-desk.fi.intel.com ([10.237.68.141]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2021 15:51:08 -0700 From: Imre Deak To: intel-gfx@lists.freedesktop.org Cc: Nanley G Chery , Sameer Lattannavar , Juha-Pekka Heikkila , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= Date: Wed, 27 Oct 2021 01:50:58 +0300 Message-Id: <20211026225105.2783797-1-imre.deak@intel.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Intel-gfx] [PATCH 0/7] drm/i915/adlp/fb: Remove CCS FB stride restrictions 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 patchset removes the CCS FB stride restrictions on ADLP. This makes the uAPI for these FBs (via CCS modifiers) match the TGL one. It also fixes a few issues I noticed during testing. I tested the patchset along with [1] (required due to the ADLP uAPI change) on SKL/TGL/ADLP. [1] https://patchwork.freedesktop.org/series/96316/ Test-with: 20211026212620.2718277-1-imre.deak@intel.com Cc: Nanley G Chery Cc: Sameer Lattannavar Cc: Juha-Pekka Heikkila Cc: Ville Syrjälä Imre Deak (7): drm/i915/fb: Fix rounding error in subsampled plane size calculation drm/i915/adlp/fb: Prevent the mapping of redundant trailing padding NULL pages drm/i915/fb: Factor out functions to remap contiguous FB obj pages drm/i915/adlp/fb: Fix remapping of linear CCS AUX surfaces drm/i915/fb: Rename i915_color_plane_view::stride to mapping_stride drm/i915/adlp/fb: Remove restriction on semiplanar UV plane offset drm/i915/adlp/fb: Remove restriction on CCS AUX plane strides drivers/gpu/drm/i915/display/i9xx_plane.c | 4 +- drivers/gpu/drm/i915/display/intel_cursor.c | 6 +- drivers/gpu/drm/i915/display/intel_display.c | 19 +- .../drm/i915/display/intel_display_types.h | 3 +- drivers/gpu/drm/i915/display/intel_fb.c | 196 +++++++------ drivers/gpu/drm/i915/display/intel_fbc.c | 2 +- drivers/gpu/drm/i915/display/intel_sprite.c | 8 +- .../drm/i915/display/skl_universal_plane.c | 4 +- drivers/gpu/drm/i915/gt/intel_ggtt.c | 272 +++++++++++------- drivers/gpu/drm/i915/i915_vma_types.h | 19 +- 10 files changed, 324 insertions(+), 209 deletions(-) -- 2.27.0