[Intel-gfx] [RFC 1/5] Remove unused parameters from intel_plane_wm_parameters
chix.ding at intel.com
chix.ding at intel.com
Wed Jun 1 07:10:17 UTC 2016
From: Chi Ding <chix.ding at intel.com>
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 <chix.ding at intel.com>
cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
cc: matthew.d.roper at intel.com
cc: yetundex.adebisi at intel.com
---
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;
};
--
1.8.0.1
More information about the Intel-gfx
mailing list