Quoting Ville Syrjala (2018-06-01 18:00:29)
> From: Ville Syrjälä <[email protected]>
> 
> No point in having each caller of intel_create_plane_state() initialize
> the scaler_id to -1. Instead just do it in intel_create_plane_state().

No tricks spotted.
 
> Previously we left scaler_id at 0 for pre-SKL platforms, but I can't
> see how initializing it to -1 always would cause any harm.

Seems fine.
 
> Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to