Sam Ravnborg
73415b4ea5
drm/fb: remove unused function: drm_gem_fbdev_fb_create()
...
After migrating several drivers to the generic fbdev
emulation there are no users left of drm_gem_fbdev_fb_create.
Delete the function.
Noticed that there was no callers while browsing
around in the drm_fb* code.
The code that referenced the function was removed by:
commit 13aff184ed ("drm/qxl: remove dead qxl fbdev emulation code")
The actual use was removed by:
commit 26d4707d44 ("drm/qxl: use generic fbdev emulation")
v2:
- Updated changelog based on feedback from Noralf
Signed-off-by: Sam Ravnborg <[email protected] >
Reviewed-by: Noralf Trønnes <[email protected] >
Cc: Gerd Hoffmann <[email protected] >
Cc: Daniel Vetter <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2019-07-21 19:32:38 +02:00
Noralf Trønnes
dbd62e16fd
drm/gem-fb-helper: Add drm_gem_fb_create_with_dirty()
...
This adds a .fb_create helper that sets the .dirty callback to
drm_atomic_helper_dirtyfb().
v2: Improve docs (Daniel)
Signed-off-by: Noralf Trønnes <[email protected] >
Acked-by: Daniel Vetter <[email protected] >
Reviewed-by: Sam Ravnborg <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2019-01-17 10:56:45 +01:00
Daniel Vetter
ccc3b2b348
drm: Move simple_display_pipe prepare_fb helper into gem fb helpers
...
There's nothing tinydrm specific to this, and there's a few more
copies of the same in various other drivers.
Signed-off-by: Daniel Vetter <[email protected] >
Cc: Gustavo Padovan <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: Sean Paul <[email protected] >
Cc: David Airlie <[email protected] >
Cc: David Lechner <[email protected] >
Cc: "Noralf Trønnes" <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: Shawn Guo <[email protected] >
Cc: Neil Armstrong <[email protected] >
Cc: Daniel Stone <[email protected] >
Cc: Haneen Mohammed <[email protected] >
Cc: Ben Widawsky <[email protected] >
Cc: "Ville Syrjälä" <[email protected] >
Reviewed-by: Oleksandr Andrushchenko <[email protected] >
Acked-by: David Lechner <[email protected] >
Reviewed-by: Noralf Trønnes <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2018-04-24 13:57:22 +02:00
Noralf Trønnes
a5ea8a6803
drm/gem-fb-helper: Use debug message on gem lookup failure
...
GEM lookup failure can easily be triggered by userspace so make
it a debug message, not an error message.
Also remove unnecessary inner parentheses and fix alphabetical
struct declaration order.
Cc: Laurent Pinchart <[email protected] >
Signed-off-by: Noralf Trønnes <[email protected] >
Reviewed-by: Daniel Vetter <[email protected] >
Reviewed-by: Laurent Pinchart <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2017-09-16 14:06:53 +02:00
Noralf Trønnes
4c3dbb2c31
drm: Add GEM backed framebuffer library
...
This library provides helpers for drivers that don't subclass
drm_framebuffer and are backed by drm_gem_object. The code is
taken from drm_fb_cma_helper.
Signed-off-by: Noralf Trønnes <[email protected] >
Reviewed-by: Daniel Vetter <[email protected] >
Reviewed-by: Eric Anholt <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2017-08-16 21:32:23 +02:00