From patchwork Wed Jun 1 07:10:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: chix.ding@intel.com X-Patchwork-Id: 9146189 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 3A6AA60757 for ; Wed, 1 Jun 2016 07:10:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CDC4200E7 for ; Wed, 1 Jun 2016 07:10:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21C7020499; Wed, 1 Jun 2016 07:10:39 +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]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE1D7200E7 for ; Wed, 1 Jun 2016 07:10:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0EB236E88E; Wed, 1 Jun 2016 07:10:37 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 398416E88E for ; Wed, 1 Jun 2016 07:10:34 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 01 Jun 2016 00:10:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,400,1459839600"; d="scan'208";a="966397935" Received: from unknown (HELO dev_host.localdomain.com) ([10.104.12.151]) by orsmga001.jf.intel.com with ESMTP; 01 Jun 2016 00:10:32 -0700 From: chix.ding@intel.com To: intel-gfx@lists.freedesktop.org Date: Wed, 1 Jun 2016 08:10:17 +0100 Message-Id: <1464765021-16206-2-git-send-email-chix.ding@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1464765021-16206-1-git-send-email-chix.ding@intel.com> References: <1464765021-16206-1-git-send-email-chix.ding@intel.com> MIME-Version: 1.0 Cc: yetundex.adebisi@intel.com, Chi Ding Subject: [Intel-gfx] [RFC 1/5] Remove unused parameters from intel_plane_wm_parameters 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Chi Ding Everything except fifo_size is unused and therefore removed This is the first patch of two-level watermark for VLV/CHV v2: Split the first patch of v1 into the following patches - Remove unused parameters from intel_plane_wm_parameters. - Rename skl_plane_id to wm_plane_id. - Move fifo_size from intel_plane_wm_parameters to vlv_wm_state. Signed-off-by: Chi Ding cc: Ville Syrjälä cc: matthew.d.roper@intel.com cc: yetundex.adebisi@intel.com Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/intel_drv.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 9b5f663..b973b86 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -697,21 +697,6 @@ struct intel_crtc { }; struct intel_plane_wm_parameters { - uint32_t horiz_pixels; - uint32_t vert_pixels; - /* - * For packed pixel formats: - * bytes_per_pixel - holds bytes per pixel - * For planar pixel formats: - * bytes_per_pixel - holds bytes per pixel for uv-plane - * y_bytes_per_pixel - holds bytes per pixel for y-plane - */ - uint8_t bytes_per_pixel; - uint8_t y_bytes_per_pixel; - bool enabled; - bool scaled; - u64 tiling; - unsigned int rotation; uint16_t fifo_size; };