diff options
author | Eric Anholt <eric@anholt.net> | 2016-02-13 01:15:14 +0300 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-02-27 02:51:10 +0300 |
commit | 851479ad5927b7b1aa141ca9dedb897a7bce2b1d (patch) | |
tree | dd6b847909a6592ce9868e18f24345ebd85a1903 /drivers/gpu/drm/vc4/vc4_regs.h | |
parent | 48627eb8dc55c60d35794105f6f79fb627347dbd (diff) | |
download | linux-851479ad5927b7b1aa141ca9dedb897a7bce2b1d.tar.xz |
drm/vc4: Bring HDMI up from power off if necessary.
If the firmware hadn't brought up HDMI for us, we need to do its
power-on reset sequence (reset HD and and clear its STANDBY bits,
reset HDMI, and leave the PHY disabled).
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_regs.h')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_regs.h b/drivers/gpu/drm/vc4/vc4_regs.h index 4e52a0a88551..85c36d238669 100644 --- a/drivers/gpu/drm/vc4/vc4_regs.h +++ b/drivers/gpu/drm/vc4/vc4_regs.h @@ -456,6 +456,8 @@ #define VC4_HDMI_TX_PHY_RESET_CTL 0x2c0 #define VC4_HD_M_CTL 0x00c +# define VC4_HD_M_REGISTER_FILE_STANDBY (3 << 6) +# define VC4_HD_M_RAM_STANDBY (3 << 4) # define VC4_HD_M_SW_RST BIT(2) # define VC4_HD_M_ENABLE BIT(0) |