diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2019-07-05 10:31:00 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-08-01 16:01:35 +0300 |
commit | 01b947afaa940327e7adf57070a4bf3d0bed9810 (patch) | |
tree | 2ec3fe68cca1208ff9dd6fa2ed33e9e85e4fd189 /.gitattributes | |
parent | 87e281f88f3aa4ed401554f793685bcb2463580a (diff) | |
download | linux-01b947afaa940327e7adf57070a4bf3d0bed9810.tar.xz |
drm/fb-helper: Instanciate shadow FB if configured in device's mode_config
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>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions