]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/tegra: dc - Do not touch power control register
authorThierry Reding <treding@nvidia.com>
Wed, 16 Apr 2014 07:52:31 +0000 (09:52 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 23 Apr 2014 10:35:28 +0000 (12:35 +0200)
Setting the bits in this register is dependent on the output type driven
by the display controller. All output drivers already set these properly
so there is no need to do it here again.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c

index 84b2ca6677b7f09efde81be93c2a09d97700d25d..bda24b658197ad54e098ce71168a8f342ff00d78 100644 (file)
@@ -743,10 +743,6 @@ static void tegra_crtc_prepare(struct drm_crtc *crtc)
                WIN_A_OF_INT | WIN_B_OF_INT | WIN_C_OF_INT;
        tegra_dc_writel(dc, value, DC_CMD_INT_POLARITY);
 
-       value = PW0_ENABLE | PW1_ENABLE | PW2_ENABLE | PW3_ENABLE |
-               PW4_ENABLE | PM0_ENABLE | PM1_ENABLE;
-       tegra_dc_writel(dc, value, DC_CMD_DISPLAY_POWER_CONTROL);
-
        /* initialize timer */
        value = CURSOR_THRESHOLD(0) | WINDOW_A_THRESHOLD(0x20) |
                WINDOW_B_THRESHOLD(0x20) | WINDOW_C_THRESHOLD(0x20);