diff options
| author | Lucas Stach <dev@lynxeye.de> | 2012-12-19 16:38:57 -0500 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2012-12-29 23:01:35 -0500 |
| commit | 500df2e5d870ef5be3d37f0798f770028b69fd47 (patch) | |
| tree | 7680e6b82fd5576762c7a5b8aea22183a0e3d03b | |
| parent | e39250aa5246b43aae882274e345620f665ab5ef (diff) | |
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>
| -rw-r--r-- | drivers/gpu/drm/tegra/dc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index b256574409e7..3475bd9f9719 100644 --- a/drivers/gpu/drm/tegra/dc.c +++ b/drivers/gpu/drm/tegra/dc.c | |||
| @@ -223,8 +223,7 @@ static int tegra_crtc_mode_set(struct drm_crtc *crtc, | |||
| 223 | win.stride = crtc->fb->pitches[0]; | 223 | win.stride = crtc->fb->pitches[0]; |
| 224 | 224 | ||
| 225 | /* program window registers */ | 225 | /* program window registers */ |
| 226 | value = tegra_dc_readl(dc, DC_CMD_DISPLAY_WINDOW_HEADER); | 226 | value = WINDOW_A_SELECT; |
| 227 | value |= WINDOW_A_SELECT; | ||
| 228 | tegra_dc_writel(dc, value, DC_CMD_DISPLAY_WINDOW_HEADER); | 227 | tegra_dc_writel(dc, value, DC_CMD_DISPLAY_WINDOW_HEADER); |
| 229 | 228 | ||
| 230 | tegra_dc_writel(dc, win.fmt, DC_WIN_COLOR_DEPTH); | 229 | tegra_dc_writel(dc, win.fmt, DC_WIN_COLOR_DEPTH); |
