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
hfi
bnxt_re-abi.h -rw-r--r-- 3.2 KB
cxgb3-abi.h -rw-r--r-- 2.4 KB
cxgb4-abi.h -rw-r--r-- 3.0 KB
efa-abi.h -rw-r--r-- 2.1 KB
hns-abi.h -rw-r--r-- 2.3 KB
i40iw-abi.h -rw-r--r-- 3.0 KB
ib_user_ioctl_cmds.h -rw-r--r-- 5.9 KB
ib_user_ioctl_verbs.h -rw-r--r-- 5.5 KB
ib_user_mad.h -rw-r--r-- 8.3 KB
ib_user_sa.h -rw-r--r-- 2.3 KB
ib_user_verbs.h -rw-r--r-- 26.1 KB
mlx4-abi.h -rw-r--r-- 5.0 KB
mlx5-abi.h -rw-r--r-- 12.7 KB
mlx5_user_ioctl_cmds.h -rw-r--r-- 7.2 KB
mlx5_user_ioctl_verbs.h -rw-r--r-- 2.5 KB
mthca-abi.h -rw-r--r-- 3.0 KB
nes-abi.h -rw-r--r-- 3.4 KB
ocrdma-abi.h -rw-r--r-- 4.0 KB
qedr-abi.h -rw-r--r-- 3.1 KB
rdma_netlink.h -rw-r--r-- 13.9 KB
rdma_user_cm.h -rw-r--r-- 6.7 KB
rdma_user_ioctl.h -rw-r--r-- 3.7 KB
rdma_user_ioctl_cmds.h -rw-r--r-- 2.9 KB
rdma_user_rxe.h -rw-r--r-- 3.7 KB
rvt-abi.h -rw-r--r-- 1.7 KB
siw-abi.h -rw-r--r-- 3.3 KB
vmw_pvrdma-abi.h -rw-r--r-- 7.6 KB

back to top