Re: [PATCH] drm/i915: Fix sink crc connector iteration

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

 



On Fri, 2015-03-13 at 16:13 -0700, Rodrigo Vivi wrote:
> Regressed by this commit:
> 
> commit 3455454e18ca3f92c565700539e744c620d8276b
> Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@xxxxxxxxx>
> Date:   Tue Mar 3 15:21:56 2015 +0200
> 
>     drm/i915: Add a for_each_intel_connector macro
> 
> Cc: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@xxxxxxxxx>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
> ---
>  drivers/gpu/drm/i915/i915_debugfs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
> index 1f7ec06..daf948e 100644
> --- a/drivers/gpu/drm/i915/i915_debugfs.c
> +++ b/drivers/gpu/drm/i915/i915_debugfs.c
> @@ -2305,7 +2305,7 @@ static int i915_sink_crc(struct seq_file *m, void *data)
>  	u8 crc[6];
>  
>  	drm_modeset_lock_all(dev);
> -	for_each_intel_encoder(dev, connector) {
> +	for_each_intel_connector(dev, connector) {
>  
>  		if (connector->base.dpms != DRM_MODE_DPMS_ON)
>  			continue;

Yeah, oops. 

Reviewed-by: Ander Conselvan de Oliveira <conselvan2@xxxxxxxxx>


_______________________________________________
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