diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2017-02-01 02:47:42 -0500 |
---|---|---|
committer | Archit Taneja <architt@codeaurora.org> | 2017-02-02 04:45:27 -0500 |
commit | 6bed9bc2ae483c5e8a7743515b63653eaad829c6 (patch) | |
tree | a6d2525ff10c1eda478170aae0388db8c8b3c660 | |
parent | 26a4cef8155026488fe796cef56939fca909856f (diff) |
drm/bridge/sii8620: do not stop MHL output when TMDS input is stopped
Stopping output causes full re-detection of the sink and slows down the
process.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1485935272-17337-16-git-send-email-a.hajda@samsung.com
-rw-r--r-- | drivers/gpu/drm/bridge/sil-sii8620.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/drm/bridge/sil-sii8620.c b/drivers/gpu/drm/bridge/sil-sii8620.c index fde9e675e329..a27ce5493323 100644 --- a/drivers/gpu/drm/bridge/sil-sii8620.c +++ b/drivers/gpu/drm/bridge/sil-sii8620.c | |||
@@ -1615,17 +1615,6 @@ static void sii8620_scdt_high(struct sii8620 *ctx) | |||
1615 | ); | 1615 | ); |
1616 | } | 1616 | } |
1617 | 1617 | ||
1618 | static void sii8620_scdt_low(struct sii8620 *ctx) | ||
1619 | { | ||
1620 | sii8620_write(ctx, REG_TMDS_CSTAT_P3, | ||
1621 | BIT_TMDS_CSTAT_P3_SCDT_CLR_AVI_DIS | | ||
1622 | BIT_TMDS_CSTAT_P3_CLR_AVI); | ||
1623 | |||
1624 | sii8620_stop_video(ctx); | ||
1625 | |||
1626 | sii8620_write(ctx, REG_INTR8_MASK, 0); | ||
1627 | } | ||
1628 | |||
1629 | static void sii8620_irq_scdt(struct sii8620 *ctx) | 1618 | static void sii8620_irq_scdt(struct sii8620 *ctx) |
1630 | { | 1619 | { |
1631 | u8 stat = sii8620_readb(ctx, REG_INTR5); | 1620 | u8 stat = sii8620_readb(ctx, REG_INTR5); |
@@ -1635,8 +1624,6 @@ static void sii8620_irq_scdt(struct sii8620 *ctx) | |||
1635 | 1624 | ||
1636 | if (cstat & BIT_TMDS_CSTAT_P3_SCDT) | 1625 | if (cstat & BIT_TMDS_CSTAT_P3_SCDT) |
1637 | sii8620_scdt_high(ctx); | 1626 | sii8620_scdt_high(ctx); |
1638 | else | ||
1639 | sii8620_scdt_low(ctx); | ||
1640 | } | 1627 | } |
1641 | 1628 | ||
1642 | sii8620_write(ctx, REG_INTR5, stat); | 1629 | sii8620_write(ctx, REG_INTR5, stat); |