drm: tegra: program only one window during modeset

The intention is to program exactly WIN_A, not WIN_A and possibly
others.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Lucas Stach 2012-12-19 21:38:57 +00:00 committed by Dave Airlie
parent e39250aa52
commit 500df2e5d8
1 changed files with 1 additions and 2 deletions

View File

@ -223,8 +223,7 @@ static int tegra_crtc_mode_set(struct drm_crtc *crtc,
win.stride = crtc->fb->pitches[0]; win.stride = crtc->fb->pitches[0];
/* program window registers */ /* program window registers */
value = tegra_dc_readl(dc, DC_CMD_DISPLAY_WINDOW_HEADER); value = WINDOW_A_SELECT;
value |= WINDOW_A_SELECT;
tegra_dc_writel(dc, value, DC_CMD_DISPLAY_WINDOW_HEADER); tegra_dc_writel(dc, value, DC_CMD_DISPLAY_WINDOW_HEADER);
tegra_dc_writel(dc, win.fmt, DC_WIN_COLOR_DEPTH); tegra_dc_writel(dc, win.fmt, DC_WIN_COLOR_DEPTH);