mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
PM / devfreq: rockchip_dmc: Add ebc system status support
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Change-Id: I17c359d119e5ea6c0124d05bb0ab55e3d540643b
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 | \
|
||||
|
||||
Reference in New Issue
Block a user