[Intel-gfx] [FOR CI 21/22] drm/doc: kerneldoc for quirk_addfb_prefer_xbgr_30bpp

Daniel Vetter daniel.vetter at ffwll.ch
Fri Oct 5 08:11:51 UTC 2018


Shuts up warning noise.

Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
 include/drm/drm_mode_config.h | 7 +++++++
 1 file changed, 7 insertions(+)

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;
 
 	/**
-- 
2.19.0.rc2



More information about the Intel-gfx mailing list