Re: [PATCH 09/13] drm/i915: Split plane watermark parameters into a separate struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 06, 2013 at 10:24:08PM +0300, ville.syrjala@xxxxxxxxxxxxxxx wrote:
> From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> 
> Give a name to the plane watermark related data we have currently
> stored under intel_plane->wm.
> 
> We also observe that this data is more or less the same that we have
> in the hsw_pipe_wm_parameters structure, so use it there as well.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>

> ---
>  drivers/gpu/drm/i915/intel_drv.h | 14 +++++-----
>  drivers/gpu/drm/i915/intel_pm.c  | 57 +++++++++++++++++++---------------------
>  2 files changed, 35 insertions(+), 36 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
> index ed33976..0366bca 100644
> --- a/drivers/gpu/drm/i915/intel_drv.h
> +++ b/drivers/gpu/drm/i915/intel_drv.h
> @@ -330,6 +330,13 @@ struct intel_crtc {
>  	bool pch_fifo_underrun_disabled;
>  };
>  
> +struct intel_plane_wm_parameters {
> +	bool enabled;
> +	bool scaled;
> +	uint8_t bytes_per_pixel;
> +	uint32_t horiz_pixels;

You are no friend to pa-hole.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux