commit | 7494bcdca2f4e9a2f2e66b02cec5600ac8021c07 | [log] [tgz] |
---|---|---|
author | Imre Deak <imre.deak@intel.com> | Thu May 12 16:18:49 2016 +0300 |
committer | Imre Deak <imre.deak@intel.com> | Fri May 13 15:17:58 2016 +0300 |
tree | d46ff24f0977d37cb018aa7fd867bc6e191b706b | |
parent | e075a32f515becef66dc849f5eca47409ccf5473 [diff] |
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