msm: sde: Provide better error logging in SDE rotator

During streamon, sde rotator needs to perform a final input and output
format validation. If the validation fails during streamon, it is better
to provide error logging. However, during V4L2 parameters setup phase,
the driver should not report error message because it is normal to have
invalid setting and client can retry with other setting. This change
will separate those two scenarios and only generate error logging
during streamon. Also add additional logging during rotator timeout
and VBIF registers dump in ramdump.

Change-Id: I938a46ba3fd967ba4ccddb923c001996fddba9eb
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
diff --git a/drivers/media/platform/msm/sde/rotator/sde_rotator_core.h b/drivers/media/platform/msm/sde/rotator/sde_rotator_core.h
index f8555ec..f91df67 100644
--- a/drivers/media/platform/msm/sde/rotator/sde_rotator_core.h
+++ b/drivers/media/platform/msm/sde/rotator/sde_rotator_core.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
@@ -413,7 +413,13 @@
 	struct sde_rot_file_private *private,
 	struct sde_rot_entry_container *req);
 
-int sde_rotator_verify_config(struct sde_rot_mgr *rot_dev,
+int sde_rotator_verify_config_all(struct sde_rot_mgr *rot_dev,
+	struct sde_rotation_config *config);
+
+int sde_rotator_verify_config_input(struct sde_rot_mgr *rot_dev,
+	struct sde_rotation_config *config);
+
+int sde_rotator_verify_config_output(struct sde_rot_mgr *rot_dev,
 	struct sde_rotation_config *config);
 
 int sde_rotator_validate_request(struct sde_rot_mgr *rot_dev,