Received: by 10.223.176.5 with SMTP id f5csp808896wra; Sat, 3 Feb 2018 10:46:19 -0800 (PST) X-Google-Smtp-Source: AH8x227FSuGgtq4Kk+V2wCwiAAhK1naa+NWr1G6wVOFKa74O8iPKVuAk1e55K7eFd9MQHR0KkTsE X-Received: by 2002:a17:902:a03:: with SMTP id 3-v6mr37487526plo.282.1517683579872; Sat, 03 Feb 2018 10:46:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517683579; cv=none; d=google.com; s=arc-20160816; b=J6BpgogP55iDQVf9YbjbCMN5h2BiNaM8q2UfkrIRnWC92xC3pBIXfxBTOyjOB4nOeE I9QmHLg2c1TgIF8y7MRzCFpVdTg/AzzPNfKc0RMCiV2iA/Hfp016lqmDGNvM0c1B1ajC fZukcDMpCl37BI9p6PMM8meZGqPpRK+Q/YAe7WwdE9zGt9DVhz/Np8s7Hf9Dgn9GfK25 IJJ0tKAo/iubwYE2kyVeitblDgeBaMxpQJ7tvi972J+Z9iKN22n2H3Vkc80Yb9jCIXiQ RArwSRcWN8WAy62qKM6tGKAQ1ng4LKj360lcRXuwz9OZWwOblEW3WdmRKTLTkzhkQ0NZ pslA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=6K7Oy85kjjJdUFgCwKrRkysxkExcbMYuyxmbMfL70+Q=; b=cZM1Xn/XwjhRY1REZYdZy1EetxWUynUhRRdZ60vP4IoIc4pjnxp0DUuzeDw2gQuI8A bxEes+tm5UGOcccZrAkQdQmdaaHDJXSsebpKhg7l6e1zJg+hI9hs48SGWxYaI57JYUJn 5sak/lzhCbaXY1ujsxXVww0rNynSwAIHM0Bv+YnQMBdNLavrv1guOggnvjODOapQwcWq SKAsGYpbiyOqREtmPYPMFUvqbO22NQdrh+JdreEq/b34YYMN+UJ2sz9yNiFALb0Urf1N 6dWPJ/ExCpbvurdGYFpV3SgwrxyTZswrpq8jO3CfRJoN+5tqwCpJTv41A/vimrChwYnp SGhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=c2Jzlcp4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si1979863plk.504.2018.02.03.10.46.05; Sat, 03 Feb 2018 10:46:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=c2Jzlcp4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755270AbeBCSpN (ORCPT + 99 others); Sat, 3 Feb 2018 13:45:13 -0500 Received: from mail-dm3nam03on0113.outbound.protection.outlook.com ([104.47.41.113]:19232 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753159AbeBCSCz (ORCPT ); Sat, 3 Feb 2018 13:02:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6K7Oy85kjjJdUFgCwKrRkysxkExcbMYuyxmbMfL70+Q=; b=c2Jzlcp46C3EPhaAsPa/iH7RNOJKE/696K9mElgfhrp0BVe4ld5jT2IC3QwwTfcxr1uuceMoFtnq4ZqCha2wWSGqIlrY1Se37YLyJwgK724YVCdg+Dj19BJEmVk0K8RrUQpHxjE6l6PodwVlqOfTE7Yvkz1mFpoL3je5bq2gFw0= Received: from BL0PR2101MB1027.namprd21.prod.outlook.com (52.132.20.161) by BL0PR2101MB1092.namprd21.prod.outlook.com (52.132.24.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.485.4; Sat, 3 Feb 2018 18:01:26 +0000 Received: from BL0PR2101MB1027.namprd21.prod.outlook.com ([fe80::a8da:b5d9:d710:9bf9]) by BL0PR2101MB1027.namprd21.prod.outlook.com ([fe80::a8da:b5d9:d710:9bf9%3]) with mapi id 15.20.0485.006; Sat, 3 Feb 2018 18:01:26 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Gabriel Krisman Bertazi , Ben Widawsky , Rodrigo Vivi , Jani Nikula , Sasha Levin Subject: [PATCH AUTOSEL for 4.14 049/110] i915: Reject CCS modifiers for pipe C on Geminilake Thread-Topic: [PATCH AUTOSEL for 4.14 049/110] i915: Reject CCS modifiers for pipe C on Geminilake Thread-Index: AQHTnRjtqSjuSaREqUeE9QX1Z5wJBw== Date: Sat, 3 Feb 2018 18:00:51 +0000 Message-ID: <20180203180015.29073-49-alexander.levin@microsoft.com> References: <20180203180015.29073-1-alexander.levin@microsoft.com> In-Reply-To: <20180203180015.29073-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BL0PR2101MB1092;6:P8Vq+Fn5/bK7PNnRMJAkKfkg+RUnr0V47MnD4IA3k0zSNGHLQqfkWOnnKV86hHKlqe6AdDxcUTFhxVTesMQlJSi9othh/GOLjsMIBUREy7lp5YmG4Af1wGEctiTdFt6FlSBfw7EtSuFgW0NU0sBDHrqo9rEaNVYKrjy0wXyOegYH2RZV0MIjROOF2zpizQTdEobvSttlQ3BHgRb5nrH2vDgGT+TEpaEfjMYvff9nyu6IZ2XncQ64E5897TRUQzJnUrRvyxAJ+BS98zt5Sa875G1PKuGD0Puv5tixzD857uBOcn8y5mTRxWIe6UlxrUbwPYuk9u4cEvQq/lmT1kfclOyD3bDZkLs2ASMM7vYLM9FHrcWd2eTssAfQJ6xs3n6S;5:LYSW1hag6ZEmTJO8qAFmnW0I84CBxeY4uSUuTSjXc27UDkSqftFaDXsOUj/WIDiheu9WfN4WV81cdrDBaHcGA34s4l3D9djjvMDzHBjv65j4SmmwlW4G0DA+dVY41lGBD3+65EKSEeDtoTPhbpXWdm1djRoLKUyw8gtqftbuNDQ=;24:tWDDIMefSlFiHMxM6E5CDE9O8cpvkuogMFaDen/qfdiAXYYkA/6r2qnCa+BatgtF5PP5iF4u0PM+vhAAatnu6jQ6igKbC0KqaDFw4LVroPM=;7:94tq30J4yiiaTY6TT1BRV0x13IYyb1vrd3Hej61vqKytrrfczozL02JAO2w/rJU/2zRbwSBjH7C4CgbzsHxNSKpKsucfrHvESdyXM8AragRDt0Y/CgACi2XE0VZP08Jb74NLBVsTnNfgNpb3b5h0Gbyjp6dfLxLjMjIbQHTBjeblr8eVTsAnG9UiJs9QDKNV36KONRQnqD9ppUZzkM7AzSnbKF1Un4aRfJii4vS8vOEblJVyAQQ82YxPVtPEaQZb x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6ce69748-87f5-4e4b-a23e-08d56b3024e0 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7193020);SRVR:BL0PR2101MB1092; x-ms-traffictypediagnostic: BL0PR2101MB1092: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(217544274631240)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231101)(2400082)(944501161)(6055026)(61426038)(61427038)(6041288)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:BL0PR2101MB1092;BCL:0;PCL:0;RULEID:;SRVR:BL0PR2101MB1092; x-forefront-prvs: 05724A8921 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(39380400002)(376002)(346002)(396003)(366004)(189003)(199004)(3280700002)(14454004)(3660700001)(105586002)(3846002)(6666003)(22452003)(6116002)(99286004)(305945005)(7736002)(2950100002)(66066001)(478600001)(54906003)(110136005)(68736007)(316002)(86362001)(106356001)(186003)(26005)(59450400001)(6506007)(76176011)(6346003)(10090500001)(575784001)(102836004)(6436002)(4326008)(8936002)(2501003)(53936002)(86612001)(2900100001)(6486002)(2906002)(6512007)(25786009)(6306002)(97736004)(966005)(72206003)(1076002)(107886003)(36756003)(5660300001)(5250100002)(8676002)(81156014)(81166006)(10290500003)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:BL0PR2101MB1092;H:BL0PR2101MB1027.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: MSpRHHFBG9wSLZfZqKxIxpeudwawMPdP7c5dBiTUtNLOmT/5FzZoTnmHiKA9h2Lg2/vV1Tosaq7FzGmlHS8IPQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ce69748-87f5-4e4b-a23e-08d56b3024e0 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2018 18:00:52.0034 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR2101MB1092 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gabriel Krisman Bertazi [ Upstream commit 8bc0d7ac934b6f2d0dc8f38a3104d281c9db1e98 ] Current code advertises (on the modifiers blob property) support for CCS modifier for pipe C on GLK, only to reject it later when validating the request before the atomic commit. This fixes the tests igt@kms_ccs@pipe-c-*, which should skip on GLK for pipe C (see bug 104096). A relevant discussion is archived at: https://lists.freedesktop.org/archives/intel-gfx/2017-December/150646.html Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=3D104096 Signed-off-by: Gabriel Krisman Bertazi Cc: Ben Widawsky Reviewed-by: Ben Widawsky Signed-off-by: Rodrigo Vivi Link: https://patchwork.freedesktop.org/patch/msgid/20171220002410.5604-1-k= risman@collabora.co.uk (cherry picked from commit f0cbd8bd877f3d8c5b80a6b1add9ca9010d7f9d8) Signed-off-by: Jani Nikula Signed-off-by: Sasha Levin --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/in= tel_display.c index 095a2240af4f..2a4b2cc033ab 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -13233,7 +13233,7 @@ intel_primary_plane_create(struct drm_i915_private = *dev_priv, enum pipe pipe) primary->frontbuffer_bit =3D INTEL_FRONTBUFFER_PRIMARY(pipe); primary->check_plane =3D intel_check_primary_plane; =20 - if (INTEL_GEN(dev_priv) >=3D 10 || IS_GEMINILAKE(dev_priv)) { + if (INTEL_GEN(dev_priv) >=3D 10) { intel_primary_formats =3D skl_primary_formats; num_formats =3D ARRAY_SIZE(skl_primary_formats); modifiers =3D skl_format_modifiers_ccs; --=20 2.11.0