projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
279c0de
)
video: tegra: set window size on mode change
author
Erik Gilling
<konkers@android.com>
Tue, 24 Aug 2010 23:13:39 +0000
(16:13 -0700)
committer
Colin Cross
<ccross@android.com>
Wed, 6 Oct 2010 23:27:57 +0000
(16:27 -0700)
otherwise it's hardcoded by the platform-data
Signed-off-by: Erik Gilling <konkers@android.com>
drivers/video/tegra/fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/tegra/fb.c
b/drivers/video/tegra/fb.c
index 95c7c489b513fc3d8adc2870c402eef7ea88f2d6..dd3f772df93dc03be0a4dbeb36f372380ddc806b 100644
(file)
--- a/
drivers/video/tegra/fb.c
+++ b/
drivers/video/tegra/fb.c
@@
-138,6
+138,11
@@
static int tegra_fb_set_par(struct fb_info *info)
mode.v_front_porch = info->mode->lower_margin;
tegra_dc_set_mode(tegra_fb->win->dc, &mode);
+
+ tegra_fb->win->w = info->mode->xres;
+ tegra_fb->win->h = info->mode->xres;
+ tegra_fb->win->out_w = info->mode->xres;
+ tegra_fb->win->out_h = info->mode->xres;
}
return 0;
}