drm/i915/dp: fix compliance test adjustments
authorJani Nikula <jani.nikula@intel.com>
Thu, 26 Apr 2018 08:25:30 +0000 (11:25 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 26 Apr 2018 15:21:27 +0000 (18:21 +0300)
commita49714531be37111b1540d85a70bb55d0958272c
tree61e9768549afe16af0fb05d5a565966bbd0f7dd2
parent3acd115d08f70615debd5a8d37a8b97dc17a9cbb
drm/i915/dp: fix compliance test adjustments

Abstract compliance test adjustments to a single function. Also make the
bpc adjustments affect the limits, actually forcing the bpc. Seems like
directly changing the pipe_bpp in the past could not have been
effective.

Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ef61e76003ab7719c82810b742f3fb5765c0e14c.1524730974.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dp.c