diff --git a/drivers/devfreq/rockchip_dmc.c b/drivers/devfreq/rockchip_dmc.c index 3300a2b09217..9669eb7c891a 100644 --- a/drivers/devfreq/rockchip_dmc.c +++ b/drivers/devfreq/rockchip_dmc.c @@ -180,7 +180,8 @@ static struct monitor_dev_profile dmc_mdevp = { static inline unsigned long is_dualview(unsigned long status) { - return (status & SYS_STATUS_LCDC0) && (status & SYS_STATUS_LCDC1); + return ((status & SYS_STATUS_SINGLEVP) && + ((status & SYS_STATUS_MULTIVP) || (status & SYS_STATUS_EBC))); } static inline unsigned long is_isp(unsigned long status) diff --git a/include/dt-bindings/soc/rockchip-system-status.h b/include/dt-bindings/soc/rockchip-system-status.h index 1b35c6b5e887..198641d92203 100644 --- a/include/dt-bindings/soc/rockchip-system-status.h +++ b/include/dt-bindings/soc/rockchip-system-status.h @@ -38,6 +38,7 @@ #define SYS_STATUS_VIDEO_SVEP (1 << 19) #define SYS_STATUS_VIDEO_4K_60P (1 << 20) #define SYS_STATUS_DEEP_SUSPEND (1 << 21) +#define SYS_STATUS_EBC (1 << 22) #define SYS_STATUS_VIDEO (SYS_STATUS_VIDEO_4K | \ SYS_STATUS_VIDEO_1080P | \