# \[PATCH 0/7\] sh\_mobile\_lcdc: Support format changes at runtime

- Status: SUPERSEDED (Superseded by v2 posted 2011-08-31)
- Superseded by v2 (posted 2011-08-31).
- Revision v1 (2 revisions archived).
- List: linux-fbdev
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-fbdev/2011/08/13461857/t

## \[PATCH 0/7\] sh\_mobile\_lcdc: Support format changes at runtime

- From: Laurent Pinchart \<laurent.pinchart@ideasonboard.com\>
- Date: 2011-08-19 09:16:05 
- Message: https://ratatoskr.run/linux-fbdev/2011/08/13461857.md

```text
Hi everybody,

This patch set add supports for the .fb_set_par() operation in the
sh_mobile_lcdc driver, allowing userspace to change the frame buffer format
and size at runtime. It applies on top of the latest SH mobile LCDC cleanups
and fixes patches posted to the linux-fbdev list and available at
http://git.linuxtv.org/pinchartl/fbdev.git/shortlog/refs/heads/sh-mobile-lcdc.

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 (7):
  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 +++++++++++++++++++++-----------------
 1 files changed, 309 insertions(+), 261 deletions(-)

-- 
Regards,

Laurent Pinchart

```
