msm: eva: Use Kailua GCC offset
GCC_VIDEO_AXI1_CBCR relocated in kailua. The driver print the register in case fail to put NoC into low power. Change-Id: I2fd7fc57f8c7980060a79438355f704654d86f18 Signed-off-by: George Shen <quic_sqiao@quicinc.com>
This commit is contained in:
@@ -251,5 +251,7 @@
|
|||||||
#define CVP_CC_MVS1_GDSCR (CVP_CC_BASE_OFFS + 0xCC)
|
#define CVP_CC_MVS1_GDSCR (CVP_CC_BASE_OFFS + 0xCC)
|
||||||
#define CVP_CC_MVS1_CBCR (CVP_CC_BASE_OFFS + 0xE0)
|
#define CVP_CC_MVS1_CBCR (CVP_CC_BASE_OFFS + 0xE0)
|
||||||
|
|
||||||
#define CVP_GCC_VIDEO_AXI1_CBCR (0x32020)
|
#ifdef CONFIG_EVA_KALAMA
|
||||||
|
#define CVP_GCC_VIDEO_AXI1_CBCR (0x22024)
|
||||||
|
#endif /*End of CONFIG_EVA_KALAMA */
|
||||||
#endif
|
#endif
|
||||||
|
@@ -69,20 +69,12 @@ extern bool msm_cvp_mmrm_enabled;
|
|||||||
extern bool msm_cvp_dcvs_disable;
|
extern bool msm_cvp_dcvs_disable;
|
||||||
extern int msm_cvp_minidump_enable;
|
extern int msm_cvp_minidump_enable;
|
||||||
|
|
||||||
/* If bit 31 is set: disabling ratelimit use of pr_info */
|
|
||||||
#define RATELIMIT_DISABLE_MASK 0x80000000
|
|
||||||
|
|
||||||
#define dprintk(__level, __fmt, arg...) \
|
#define dprintk(__level, __fmt, arg...) \
|
||||||
do { \
|
do { \
|
||||||
if ((msm_cvp_debug & __level) \
|
if (msm_cvp_debug & __level) { \
|
||||||
&& (msm_cvp_debug_out == CVP_OUT_PRINTK)) { \
|
if (msm_cvp_debug_out == CVP_OUT_PRINTK) { \
|
||||||
if (msm_cvp_debug & RATELIMIT_DISABLE_MASK) { \
|
|
||||||
pr_info(CVP_DBG_TAG __fmt, \
|
pr_info(CVP_DBG_TAG __fmt, \
|
||||||
get_debug_level_str(__level), \
|
get_debug_level_str(__level), \
|
||||||
## arg); \
|
|
||||||
} else { \
|
|
||||||
pr_info_ratelimited(CVP_DBG_TAG __fmt, \
|
|
||||||
get_debug_level_str(__level), \
|
|
||||||
## arg); \
|
## arg); \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
|
Reference in New Issue
Block a user