From patchwork Sat Aug 5 01:01:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sripada, Radhakrishna" X-Patchwork-Id: 9882823 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4B5216031B for ; Sat, 5 Aug 2017 00:59:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3534E28A15 for ; Sat, 5 Aug 2017 00:59:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1881428A1C; Sat, 5 Aug 2017 00:59:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 99EB128A15 for ; Sat, 5 Aug 2017 00:59:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2D8BC6E417; Sat, 5 Aug 2017 00:59:17 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id DB3E06E417 for ; Sat, 5 Aug 2017 00:59:15 +0000 (UTC) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Aug 2017 17:59:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,322,1498546800"; d="scan'208";a="886663766" Received: from invictus.jf.intel.com ([10.54.75.152]) by FMSMGA003.fm.intel.com with ESMTP; 04 Aug 2017 17:59:14 -0700 From: Radhakrishna Sripada To: intel-gfx@lists.freedesktop.org Date: Fri, 4 Aug 2017 18:01:28 -0700 Message-Id: <20170805010128.5225-1-radhakrishna.sripada@intel.com> X-Mailer: git-send-email 2.9.3 Cc: Dhinakaran Pandiyan , Jani Nikula , Nicholas Stommel Subject: [Intel-gfx] [PATCH] drm/i915: Add HP Convertible 360 to OpRegion quirk list X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP The quirklist for OpRegion panel type got introduced in commit c8ebfad7a063 ("drm/i915: Ignore OpRegion panel type except on select machines"). Adding the entry for HP Convertible 360 to the white list. Fixes: a05628195a0d ("drm/i915: Get panel_type from OpRegion panel details") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101111 Cc: Nicholas Stommel Cc: Dhinakaran Pandiyan Cc: Jani Nikula Signed-off-by: Radhakrishna Sripada --- drivers/gpu/drm/i915/intel_opregion.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_opregion.c b/drivers/gpu/drm/i915/intel_opregion.c index 2bd03001cc70..a2ef4d4957d8 100644 --- a/drivers/gpu/drm/i915/intel_opregion.c +++ b/drivers/gpu/drm/i915/intel_opregion.c @@ -1035,6 +1035,20 @@ static const struct dmi_system_id intel_use_opregion_panel_type[] = { DMI_MATCH(DMI_PRODUCT_NAME, "IX45GM2"), }, }, + { + .callback = intel_use_opregion_panel_type_callback, + .ident = "HP Spectre x360 Convertible", + .matches = {DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible"), + }, + }, + { + .callback = intel_use_opregion_panel_type_callback, + .ident = "HP Spectre x360 Convertible", + .matches = {DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible 13"), + }, + }, { } };