projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb9479a
)
drm/tiny/gm12u320: Use fbdev-shmem
author
Thomas Zimmermann
<tzimmermann@suse.de>
Fri, 19 Apr 2024 08:29:08 +0000
(10:29 +0200)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Thu, 2 May 2024 09:33:19 +0000
(11:33 +0200)
Implement fbdev emulation with fbdev-shmem. Avoids the overhead of
fbdev-generic's additional shadow buffering. No functional changes.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20240419083331.7761-16-tzimmermann@suse.de
drivers/gpu/drm/tiny/gm12u320.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tiny/gm12u320.c
b/drivers/gpu/drm/tiny/gm12u320.c
index
0187539
..
8b4efd3
100644
(file)
--- a/
drivers/gpu/drm/tiny/gm12u320.c
+++ b/
drivers/gpu/drm/tiny/gm12u320.c
@@
-13,7
+13,7
@@
#include <drm/drm_damage_helper.h>
#include <drm/drm_drv.h>
#include <drm/drm_edid.h>
-#include <drm/drm_fbdev_
generic
.h>
+#include <drm/drm_fbdev_
shmem
.h>
#include <drm/drm_file.h>
#include <drm/drm_format_helper.h>
#include <drm/drm_fourcc.h>
@@
-699,7
+699,7
@@
static int gm12u320_usb_probe(struct usb_interface *interface,
if (ret)
goto err_put_device;
- drm_fbdev_
generic
_setup(dev, 0);
+ drm_fbdev_
shmem
_setup(dev, 0);
return 0;