drm/msm/sde: reject invalid scaler v2 user data

This patch adds some basic checks against the user provided
scaler_v2 configuration data and rejects any commits that
attempt to use an invalid configuration.

If the associated scaler_v2's LUT properties are defined
after the main scaler_v2 configuration has been provided,
the combined scaler_v2/LUT configuration is not used until
both are available and valid.

CRs-Fixed: 2052501
Change-Id: Ibb04166f65c7ff1534c63bf1c6c2e207c128352f
Signed-off-by: Clarence Ip <cip@codeaurora.org>
1 file changed