Skip to content

Fixes for omapdrm console

Tony Lindgren dri-devel linux-fbdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 12 repliesSuperseded
  3. v12 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- Fix cache issue noted by Tomi using custom omap_fbdev_fb_mmap() as suggested by Thomas

- Add FB_DMAMEM_HELPERS_DEFERRED Kconfig option and use it for omapdrm as noted by Thomas

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/omapdrm: Fix console by implementing fb_dirtydrivers/gpu/drm/omapdrm/omap_fbdev.c+12 -00 replies
2/2drm/omapdrm: Fix console with deferred opsdrivers/gpu/drm/omapdrm/Kconfig drivers/gpu/drm/omapdrm/omap_fbdev.c drivers/video/fbdev/core/Kconfig +1 more+33 -70 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchThomas Zimmermann
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Fixes for omapdrm console

Here are two fixes for omapdrm for missing drm_framebuffer_funcs.dirty that needs to be paired with omap_framebuffer_dirty(), and to add FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS so things behave as earlier with drm_fb_helper_sys_write(). Without these fixes, the console won't update for the command mode displays. And likely mmap() using writes can miss updates as noted by Thomas.

Regards,

Tony

Changes since v2:
- Fix cache issue noted by Tomi using custom omap_fbdev_fb_mmap() as suggested by Thomas

- Add FB_DMAMEM_HELPERS_DEFERRED Kconfig option and use it for omapdrm as noted by Thomas

Changes since v1:

- Add FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS to use with FB_DEFAULT_DEFERRED_OPS as suggested by Thomas

Tony Lindgren (2):
drm/omapdrm: Fix console by implementing fb_dirty drm/omapdrm: Fix console with deferred ops

 drivers/gpu/drm/omapdrm/Kconfig      |  2 +-
 drivers/gpu/drm/omapdrm/omap_fbdev.c | 40 +++++++++++++++++++++++-----
 drivers/video/fbdev/core/Kconfig     |  6 +++++
 include/linux/fb.h                   |  4 +++
 4 files changed, 45 insertions(+), 7 deletions(-)
Signature · 1 line
2.43.1