aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm/drm_mode_config.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-09-05 08:04:40 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-09-06 08:40:17 +0200
commit0e94043ee1d98d5112aa4e1d68733b0197dfdafa (patch)
treee5949e9af5a6b8db8ffff4e850283dcddebfca43 /include/drm/drm_mode_config.h
parentdrm/rockchip: rgb: add stub functions when rgb encoder is disabled (diff)
downloadwireguard-linux-0e94043ee1d98d5112aa4e1d68733b0197dfdafa.tar.xz
wireguard-linux-0e94043ee1d98d5112aa4e1d68733b0197dfdafa.zip
drm: replace DRIVER_PREFER_XBGR_30BPP driver flag with mode_config quirk
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20180905060445.15008-2-kraxel@redhat.com
Diffstat (limited to 'include/drm/drm_mode_config.h')
-rw-r--r--include/drm/drm_mode_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h
index a0b202e1d69a..5d29f4ba6f69 100644
--- a/include/drm/drm_mode_config.h
+++ b/include/drm/drm_mode_config.h
@@ -809,6 +809,7 @@ struct drm_mode_config {
/* dumb ioctl parameters */
uint32_t preferred_depth, prefer_shadow;
+ bool quirk_addfb_prefer_xbgr_30bpp;
/**
* @async_page_flip: Does this device support async flips on the primary