Skip to content

Commit 500df2e

Browse files
lynxeye-devairlied
authored andcommitted
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>
1 parent e39250a commit 500df2e

File tree

1 file changed

+1
-2
lines changed
  • drivers/gpu/drm/tegra

1 file changed

+1
-2
lines changed

drivers/gpu/drm/tegra/dc.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,7 @@ static int tegra_crtc_mode_set(struct drm_crtc *crtc,
223223
win.stride = crtc->fb->pitches[0];
224224

225225
/* program window registers */
226-
value = tegra_dc_readl(dc, DC_CMD_DISPLAY_WINDOW_HEADER);
227-
value |= WINDOW_A_SELECT;
226+
value = WINDOW_A_SELECT;
228227
tegra_dc_writel(dc, value, DC_CMD_DISPLAY_WINDOW_HEADER);
229228

230229
tegra_dc_writel(dc, win.fmt, DC_WIN_COLOR_DEPTH);

0 commit comments

Comments
 (0)