Hi everybody,
Here's the second version of the .fb_set_par() support for the sh_mobile_lcdc
driver patch set. It allows userspace to change the frame buffer format and
size at runtime. The patches apply on top of Florian's fbdev-next branch
available at git://github.com/schandinat/linux-2.6.git.
Compared to v1, this version includes an additional MERAM fix.
Frame buffer memory reallocation is currently not supported. You will need to
make sure platform data sets the maximum size and bpp to high enough values
for all formats and sizes you want to support at runtime.
The patches have been tested with the fbdev-test utility
(http://git.ideasonboard.org/?pûdev-test.git;a=summary) on a Mackerel board.
Laurent Pinchart (8):
sh_mobile_meram: Reset ICBs at unregistration time
fbdev: sh_mobile_lcdc: Adjust requested parameters in .fb_check_var
fbdev: sh_mobile_lcdc: Add support for format changes at runtime
fbdev: sh_mobile_lcdc: use display information in info for panning
fbdev: sh_mobile_lcdc: Update fix.line_length in .fb_set_par()
fbdev: sh_mobile_lcdc: Avoid forward declarations
fbdev: sh_mobile_lcdc: Split channel initialization from probe
function
fbdev: sh_mobile_lcdc: Remove sh_mobile_lcdc_set_bpp()
drivers/video/sh_mobile_lcdcfb.c | 570 +++++++++++++++++++++-----------------
drivers/video/sh_mobile_meram.c | 6 +-
2 files changed, 313 insertions(+), 263 deletions(-)
--
Regards,
Laurent Pinchart
Hi Laurent,
On 08/31/2011 11:00 AM, Laurent Pinchart wrote:
Hi everybody,
Here's the second version of the .fb_set_par() support for the sh_mobile_lcdc
driver patch set. It allows userspace to change the frame buffer format and
size at runtime. The patches apply on top of Florian's fbdev-next branch
available at git://github.com/schandinat/linux-2.6.git.
Compared to v1, this version includes an additional MERAM fix.
Frame buffer memory reallocation is currently not supported. You will need to
make sure platform data sets the maximum size and bpp to high enough values
for all formats and sizes you want to support at runtime.
As you've asked me in
"[PULL] SH mobile LCDC cleanups and fixes"
I've applied this series as it looks okay to me.
Thanks,
Florian Tobias Schandinat
The patches have been tested with the fbdev-test utility
(http://git.ideasonboard.org/?pûdev-test.git;a=summary) on a Mackerel board.
Laurent Pinchart (8):
sh_mobile_meram: Reset ICBs at unregistration time
fbdev: sh_mobile_lcdc: Adjust requested parameters in .fb_check_var
fbdev: sh_mobile_lcdc: Add support for format changes at runtime
fbdev: sh_mobile_lcdc: use display information in info for panning
fbdev: sh_mobile_lcdc: Update fix.line_length in .fb_set_par()
fbdev: sh_mobile_lcdc: Avoid forward declarations
fbdev: sh_mobile_lcdc: Split channel initialization from probe
function
fbdev: sh_mobile_lcdc: Remove sh_mobile_lcdc_set_bpp()
drivers/video/sh_mobile_lcdcfb.c | 570 +++++++++++++++++++++-----------------
drivers/video/sh_mobile_meram.c | 6 +-
2 files changed, 313 insertions(+), 263 deletions(-)
Hi Florian,
On Monday 05 September 2011 19:19:08 Florian Tobias Schandinat wrote:
On 08/31/2011 11:00 AM, Laurent Pinchart wrote:
quoted
Hi everybody,
Here's the second version of the .fb_set_par() support for the
sh_mobile_lcdc driver patch set. It allows userspace to change the frame
buffer format and size at runtime. The patches apply on top of Florian's
fbdev-next branch available at
git://github.com/schandinat/linux-2.6.git.
Compared to v1, this version includes an additional MERAM fix.
Frame buffer memory reallocation is currently not supported. You will
need to make sure platform data sets the maximum size and bpp to high
enough values for all formats and sizes you want to support at runtime.
As you've asked me in
"[PULL] SH mobile LCDC cleanups and fixes"
I've applied this series as it looks okay to me.
Thank you.
--
Regards,
Laurent Pinchart