diff options
author | Dandawate Saket <dsaket@ti.com> | 2012-03-07 02:57:38 +0530 |
---|---|---|
committer | Dmytro Kedrovskyi <x0169235@ti.com> | 2012-07-17 19:43:34 +0300 |
commit | 63d05afed55cf19548e66d67656a788860db3dd9 (patch) | |
tree | f588b6ff50a0cb474dcc76c5687b74df0a23d0ef /include/video | |
parent | 561e406aeb23e426f530de09b31a11ffded7ccbb (diff) | |
download | kernel_samsung_espresso10-63d05afed55cf19548e66d67656a788860db3dd9.zip kernel_samsung_espresso10-63d05afed55cf19548e66d67656a788860db3dd9.tar.gz kernel_samsung_espresso10-63d05afed55cf19548e66d67656a788860db3dd9.tar.bz2 |
OMAPDSS: OMAPFB : Add support for default display scaling.
Currently it is assumed that frame buffer size
is same as default panel size. With this assumption
GFX pipeline is always presented to default display FBDev.
GFX pipeline cannot scale so we cannot have a frame
buffer which is not equal to panel size (LCD | HDMI).
Updated the current logic of omapfb to pick video pipelines
in case scaling is required for FB to be presented to default
panel.
To provide FB size option is provided via command line.
e.g
omapfb.fb_opt=0,720,1280,1,640,480
each element is [fb_ix,width,height]
Change-Id: I9e2d40bed34c5fbf2bac31668d210e0bc586bb40
Signed-off-by: Dandawate Saket <dsaket@ti.com>
Signed-off-by: Muralidhar Dixit <murali.dixit@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/omapdss.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 43e1d9b..d1c1d15 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -691,6 +691,8 @@ struct omap_dss_device { u32 width_in_um; u32 height_in_um; + u16 fb_xres; + u16 fb_yres; } panel; struct { |