From patchwork Fri Dec 7 00:53:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Roper X-Patchwork-Id: 10717297 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CC4F013BB for ; Fri, 7 Dec 2018 00:54:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD7F92C584 for ; Fri, 7 Dec 2018 00:54:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B18AE2DB6C; Fri, 7 Dec 2018 00:54:43 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 9070A2C584 for ; Fri, 7 Dec 2018 00:54:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CF25A6E69B; Fri, 7 Dec 2018 00:54:38 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 841B16E69B for ; Fri, 7 Dec 2018 00:54:37 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Dec 2018 16:54:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,324,1539673200"; d="scan'208";a="96797029" Received: from mdroper-desk.fm.intel.com ([10.105.128.10]) by orsmga007.jf.intel.com with ESMTP; 06 Dec 2018 16:54:36 -0800 From: Matt Roper To: intel-gfx@lists.freedesktop.org Date: Thu, 6 Dec 2018 16:53:59 -0800 Message-Id: <20181207005401.13988-1-matthew.d.roper@intel.com> X-Mailer: git-send-email 2.14.4 Subject: [Intel-gfx] [PATCH 0/2] Use intel_* types more consistently X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 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 i915 codebase usually tries to use intel_* types rather than drm_* types as parameters for internal driver functions that are only called by other i915 code. However I've noticed that the watermark code and the color management code are two places where we haven't been as careful about following that convention. Let's try to be more consistent about using the intel_* types. Matt Roper (2): drm/i915: Use intel_ types more consistently for watermark code drm/i915: Use intel_ types more consistently for color management code drivers/gpu/drm/i915/i915_drv.h | 9 +- drivers/gpu/drm/i915/intel_color.c | 207 ++++++++++++++--------------- drivers/gpu/drm/i915/intel_display.c | 52 ++++---- drivers/gpu/drm/i915/intel_drv.h | 18 +-- drivers/gpu/drm/i915/intel_pm.c | 250 ++++++++++++++++------------------- 5 files changed, 246 insertions(+), 290 deletions(-)