Skip to content

Commit

Permalink
drm: tegra: program only one window during modeset
Browse files Browse the repository at this point in the history
The intention is to program exactly WIN_A, not WIN_A and possibly
others.

Signed-off-by: Lucas Stach <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
  • Loading branch information
lynxeye-dev authored and airlied committed Dec 30, 2012
1 parent e39250a commit 500df2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/gpu/drm/tegra/dc.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ static int tegra_crtc_mode_set(struct drm_crtc *crtc,
win.stride = crtc->fb->pitches[0];

/* 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, win.fmt, DC_WIN_COLOR_DEPTH);
Expand Down

0 comments on commit 500df2e

Please sign in to comment.