Imre Deak 7494bcdca2 drm/i915/gen9: Avoid using negative array index in skl_update_plane()
scaler_id may be negative as shown by conditions later in the function,
so don't use it as an array index in that case.

v2:
- Remove ps_ctrl while at it (Ville).

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1463059132-1720-2-git-send-email-imre.deak@intel.com
2016-05-13 15:17:58 +03:00
..
2016-04-04 10:11:33 +01:00
2016-03-14 09:46:02 +10:00
2016-03-31 11:24:37 +02:00
2016-03-17 08:09:44 +10:00
2016-03-14 09:46:02 +10:00
2016-03-14 09:46:02 +10:00
2016-05-09 14:05:17 +03:00