From patchwork Mon Dec 19 13:50:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislav Lisovskiy X-Patchwork-Id: 13076593 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 8C968C4332F for ; Mon, 19 Dec 2022 13:50:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A4E7310E2A0; Mon, 19 Dec 2022 13:50:43 +0000 (UTC) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id B5BF610E2A0 for ; Mon, 19 Dec 2022 13:50:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671457839; x=1702993839; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ZyVL5YT4+cP8LE8QI3LRgXdlZo4lIAtQ5LYZK3muGLg=; b=U8B6XaO2XVvDNKD4Uax0mBGveVzGagwm7DR97KV5mgFCPicdaBKaNqDs 1YoJDjNlMPkJVBtJzz6rZyKrnlmOoCpqrDCsYn/WRN+vJrVCreVEkVat0 bAdLAbWTkZTdrPxM1AOIyTAfXZDxGy8sfy1rRvjNgpRul+9tbtT7vNf7B 1X1CChaIHehG9xHmsglfifk9I8W042jHhUxGrynrsLVJd+Cqtx3PRgx4D 31VWN+dkjAGJW2VJE/E7t9NstVetUw9WjScCKHwloComz2p1KA6NLOHnD 0JI/QgV+n73y2CEFT9Z/RF+0y3KSG4yKKhqOGjt2p9HiNGnLQ2XK9m6nD Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10566"; a="299027348" X-IronPort-AV: E=Sophos;i="5.96,255,1665471600"; d="scan'208";a="299027348" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2022 05:50:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10566"; a="683012132" X-IronPort-AV: E=Sophos;i="5.96,255,1665471600"; d="scan'208";a="683012132" Received: from unknown (HELO slisovsk-Lenovo-ideapad-720S-13IKB.fi.intel.com) ([10.237.72.65]) by orsmga001.jf.intel.com with ESMTP; 19 Dec 2022 05:50:36 -0800 From: Stanislav Lisovskiy To: intel-gfx@lists.freedesktop.org Date: Mon, 19 Dec 2022 15:50:35 +0200 Message-Id: <20221219135035.13059-1-stanislav.lisovskiy@intel.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH] drm/i915/mtl: Add support of Tile4 to MTL 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: , Cc: juha-pekka.heikkila@intel.com Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" We have some Tile4 tests now skipping, which were supposed to be working. So lets make them work, by adding display_ver 14 as supported. Signed-off-by: Stanislav Lisovskiy --- drivers/gpu/drm/i915/display/intel_fb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_fb.c b/drivers/gpu/drm/i915/display/intel_fb.c index 63137ae5ab217..75a17f38def53 100644 --- a/drivers/gpu/drm/i915/display/intel_fb.c +++ b/drivers/gpu/drm/i915/display/intel_fb.c @@ -158,11 +158,11 @@ struct intel_modifier_desc { static const struct intel_modifier_desc intel_modifiers[] = { { .modifier = I915_FORMAT_MOD_4_TILED_DG2_MC_CCS, - .display_ver = { 13, 13 }, + .display_ver = { 13, 14 }, .plane_caps = INTEL_PLANE_CAP_TILING_4 | INTEL_PLANE_CAP_CCS_MC, }, { .modifier = I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC, - .display_ver = { 13, 13 }, + .display_ver = { 13, 14 }, .plane_caps = INTEL_PLANE_CAP_TILING_4 | INTEL_PLANE_CAP_CCS_RC_CC, .ccs.cc_planes = BIT(1), @@ -170,11 +170,11 @@ static const struct intel_modifier_desc intel_modifiers[] = { FORMAT_OVERRIDE(gen12_flat_ccs_cc_formats), }, { .modifier = I915_FORMAT_MOD_4_TILED_DG2_RC_CCS, - .display_ver = { 13, 13 }, + .display_ver = { 13, 14 }, .plane_caps = INTEL_PLANE_CAP_TILING_4 | INTEL_PLANE_CAP_CCS_RC, }, { .modifier = I915_FORMAT_MOD_4_TILED, - .display_ver = { 13, 13 }, + .display_ver = { 13, 14 }, .plane_caps = INTEL_PLANE_CAP_TILING_4, }, { .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,