aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2018-10-04 22:24:46 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2018-10-24 14:19:29 +0200
commit6217f0ec7f111733f31b6ed158df2bf5a4ed28c4 (patch)
tree417d5c7ca7773368060b4bcefda53702a1e4799a /include/drm
parentdrm: msm: adreno: Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) +PTR_ERR (diff)
downloadlinux-dev-6217f0ec7f111733f31b6ed158df2bf5a4ed28c4.tar.xz
linux-dev-6217f0ec7f111733f31b6ed158df2bf5a4ed28c4.zip
drm/doc: kerneldoc for quirk_addfb_prefer_xbgr_30bpp
Shuts up warning noise. Reviewed-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181004202446.22905-22-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_mode_config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h
index 928e4172a0bb..d643d268693e 100644
--- a/include/drm/drm_mode_config.h
+++ b/include/drm/drm_mode_config.h
@@ -809,6 +809,13 @@ struct drm_mode_config {
/* dumb ioctl parameters */
uint32_t preferred_depth, prefer_shadow;
+
+ /**
+ * @quirk_addfb_prefer_xbgr_30bpp:
+ *
+ * Special hack for legacy ADDFB to keep nouveau userspace happy. Should
+ * only ever be set by the nouveau kernel driver.
+ */
bool quirk_addfb_prefer_xbgr_30bpp;
/**