@@ -1909,6 +1909,8 @@ bool intel_csc_equal(const struct intel_crtc_state *current_config,
u16 coeffs[9];
int i;
+ DRM_DEBUG_KMS("Bhanu debug--> sw_ctm[%s] hw_ctm[%s]", yesno(!!blob1), yesno(!!blob2));
+
if (!blob1 != !blob2)
return false;
@@ -1923,6 +1925,9 @@ bool intel_csc_equal(const struct intel_crtc_state *current_config,
else
ilk_csc_convert_ctm(current_config, coeffs);
+ for (i = 0; i < 9; i++)
+ DRM_DEBUG_KMS("Bhanu debug--> sw_ctm[%d]=0x%x hw_ctm[%d]=0x%llx", i, coeffs[i], i, ctm2->matrix[i]);
+
for (i = 0; i < 9; i++) {
if (abs(coeffs[i] - ctm2->matrix[i]))
return false;
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> --- drivers/gpu/drm/i915/display/intel_color.c | 5 +++++ 1 file changed, 5 insertions(+)