Revision 01b947afaa940327e7adf57070a4bf3d0bed9810 authored by Thomas Zimmermann on 05 July 2019, 07:31:00 UTC, committed by Gerd Hoffmann on 01 August 2019, 13:01:35 UTC
Generic framebuffer emulation uses a shadow buffer for framebuffers with
dirty() function. If drivers want to use the shadow FB without such a
function, they can now set prefer_shadow or prefer_shadow_fbdev in their
mode_config structures. The former flag is exported to userspace, the
latter flag is fbdev-only.

v3:
	* only schedule dirty worker if fbdev uses shadow fb
	* test shadow fb settings with boolean operators
	* use bool for struct drm_mode_config.prefer_shadow_fbdev
	* fix documentation comments

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Tested-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/315834/
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
1 parent 87e281f
History
File Mode Size
Kbuild -rw-r--r-- 928 bytes
auxvec.h -rw-r--r-- 218 bytes
bitsperlong.h -rw-r--r-- 579 bytes
bpf_perf_event.h -rw-r--r-- 253 bytes
errno-base.h -rw-r--r-- 1.6 KB
errno.h -rw-r--r-- 5.5 KB
fcntl.h -rw-r--r-- 5.3 KB
hugetlb_encode.h -rw-r--r-- 1.7 KB
int-l64.h -rw-r--r-- 733 bytes
int-ll64.h -rw-r--r-- 879 bytes
ioctl.h -rw-r--r-- 3.4 KB
ioctls.h -rw-r--r-- 3.9 KB
ipcbuf.h -rw-r--r-- 1003 bytes
kvm_para.h -rw-r--r-- 96 bytes
mman-common.h -rw-r--r-- 3.2 KB
mman.h -rw-r--r-- 740 bytes
msgbuf.h -rw-r--r-- 1.6 KB
param.h -rw-r--r-- 368 bytes
poll.h -rw-r--r-- 894 bytes
posix_types.h -rw-r--r-- 2.3 KB
resource.h -rw-r--r-- 1.8 KB
sembuf.h -rw-r--r-- 1.5 KB
setup.h -rw-r--r-- 190 bytes
shmbuf.h -rw-r--r-- 1.8 KB
siginfo.h -rw-r--r-- 9.8 KB
signal-defs.h -rw-r--r-- 865 bytes
signal.h -rw-r--r-- 2.7 KB
socket.h -rw-r--r-- 3.5 KB
sockios.h -rw-r--r-- 447 bytes
stat.h -rw-r--r-- 2.6 KB
statfs.h -rw-r--r-- 1.8 KB
swab.h -rw-r--r-- 502 bytes
termbits.h -rw-r--r-- 4.6 KB
termios.h -rw-r--r-- 1.4 KB
types.h -rw-r--r-- 233 bytes
ucontext.h -rw-r--r-- 357 bytes
unistd.h -rw-r--r-- 29.7 KB

back to top