From patchwork Tue Oct 4 12:42:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joonas Lahtinen X-Patchwork-Id: 9361747 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 59271607D6 for ; Tue, 4 Oct 2016 12:43:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B5272890B for ; Tue, 4 Oct 2016 12:43:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FF312896A; Tue, 4 Oct 2016 12:43:35 +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 0E5112890B for ; Tue, 4 Oct 2016 12:43:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8B8FE6E63F; Tue, 4 Oct 2016 12:43:31 +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 C1BEE6E63E for ; Tue, 4 Oct 2016 12:43:29 +0000 (UTC) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP; 04 Oct 2016 05:43:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,295,1473145200"; d="scan'208";a="176194434" Received: from jlahtine-desk.ger.corp.intel.com ([10.252.30.238]) by fmsmga004.fm.intel.com with ESMTP; 04 Oct 2016 05:43:09 -0700 From: Joonas Lahtinen To: Intel graphics driver community testing & development Date: Tue, 4 Oct 2016 15:42:58 +0300 Message-Id: <1475584978-801-2-git-send-email-joonas.lahtinen@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1475584978-801-1-git-send-email-joonas.lahtinen@linux.intel.com> References: <1475584978-801-1-git-send-email-joonas.lahtinen@linux.intel.com> Subject: [Intel-gfx] [PATCH 2/2] drm/i915: Sort DEV_INFO_FOR_EACH_FLAG 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 Sort DEV_INFO_FOR_EACH_FLAG to alphabetical order (except is_*). Signed-off-by: Joonas Lahtinen Reviewed-by: Chris Wilson --- drivers/gpu/drm/i915/i915_drv.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index f13b958..2ce1171 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -640,7 +640,6 @@ struct intel_csr { func(is_i915g) \ func(is_i945gm) \ func(is_g33) \ - func(hws_needs_physical) \ func(is_g4x) \ func(is_pineview) \ func(is_broadwater) \ @@ -654,31 +653,32 @@ struct intel_csr { func(is_broxton) \ func(is_kabylake) \ func(is_preliminary) \ - func(has_fbc) \ - func(has_psr) \ - func(has_runtime_pm) \ func(has_csr) \ - func(has_resource_streamer) \ - func(has_rc6) \ - func(has_rc6p) \ + func(has_ddi) \ func(has_dp_mst) \ + func(has_fbc) \ + func(has_fpga_dbg) \ func(has_gmbus_irq) \ - func(has_hw_contexts) \ - func(has_logical_ring_contexts) \ - func(has_l3_dpf) \ func(has_gmch_display) \ func(has_guc) \ - func(has_pipe_cxsr) \ func(has_hotplug) \ - func(cursor_needs_physical) \ - func(has_overlay) \ - func(overlay_needs_physical) \ - func(supports_tv) \ + func(has_hw_contexts) \ + func(has_l3_dpf) \ func(has_llc) \ + func(has_logical_ring_contexts) \ + func(has_overlay) \ + func(has_pipe_cxsr) \ + func(has_pooled_eu) \ + func(has_psr) \ + func(has_rc6) \ + func(has_rc6p) \ + func(has_resource_streamer) \ + func(has_runtime_pm) \ func(has_snoop) \ - func(has_ddi) \ - func(has_fpga_dbg) \ - func(has_pooled_eu) + func(hws_needs_physical) \ + func(cursor_needs_physical) \ + func(overlay_needs_physical) \ + func(supports_tv) struct sseu_dev_info { u8 slice_mask;