drivers/gpu/drm/via/via_tmds.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
New commits: commit cff0dce19f2a81f558971db96a5ca99fc5d05589 Author: Kevin Brace <kevinbr...@gmx.com> Date: Sat Mar 25 16:05:37 2017 -0700 Added viaLVDS1SetPowerSeq This function was added to via_tmds.c. Signed-off-by: Kevin Brace <kevinbr...@gmx.com> diff --git a/drivers/gpu/drm/via/via_tmds.c b/drivers/gpu/drm/via/via_tmds.c index ec8d4149528..28fc8d456ed 100644 --- a/drivers/gpu/drm/via/via_tmds.c +++ b/drivers/gpu/drm/via/via_tmds.c @@ -23,8 +23,23 @@ * Authors: * James Simmons <jsimm...@infradead.org> */ + #include "via_drv.h" + +static inline void +viaLVDS1SetPowerSeq(void __iomem *regs, bool softCtrl) +{ + /* Set LVDS1 power sequence type. */ + /* 3X5.91[0] - LVDS1 Hardware or Software Control Power Sequence + * 0: Hardware Control + * 1: Software Control */ + svga_wcrt_mask(regs, 0x91, softCtrl ? BIT(0) : 0, BIT(0)); + + DRM_DEBUG("LVDS1 Power Sequence: %s Control\n", + softCtrl ? "Software" : "Hardware"); +} + /* * Routines for controlling stuff on the TMDS port */ _______________________________________________ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/openchrome-devel