From patchwork Fri Oct 5 08:11:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10627569 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3AEED15A6 for ; Fri, 5 Oct 2018 08:12:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3383029265 for ; Fri, 5 Oct 2018 08:12:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 281D729272; Fri, 5 Oct 2018 08:12:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E77EC29265 for ; Fri, 5 Oct 2018 08:12:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 23F246E757; Fri, 5 Oct 2018 08:12:34 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2D9456E776 for ; Fri, 5 Oct 2018 08:12:31 +0000 (UTC) Received: by mail-ed1-x541.google.com with SMTP id c1-v6so10873551ede.5 for ; Fri, 05 Oct 2018 01:12:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NVrDCIEpG8g0NrDmuh4NvXLetFGLBoLYkRzS4njL+xM=; b=KdyD5v+iu2yKhCLBI1X9FpeF4RXBeljeDR8pxc9eCw51Q2UJN1LV6C26xbnF462hH1 lGHKTmq/R4fBwAs/v2oNx5q0VT/Jy1GQK7MxxzG/ZoPqyVtts8o43896BWN7kEJAZZfm HakuRk263hTXgwOmvlc1QHEf6c6ZqAlHFfBs1Hy+ys8i2vw+c0kKM6kS/6+cG3cJe/li 5mx5uNgxYP+UWQ/blZuTxnQqo3YqDnODcGPngjc0yIFSC0qJVuhgB0ewp1Q69nY4la8C 0sM1wGMQ++RM9nyw6ArTJZ19r5wXQgpWIdBQ6DLs+pR8XCaEZ5wu/iyfGmOkGHGKUXGS ho+w== X-Gm-Message-State: ABuFfoiMVZYXaGmUbDTT05h0r8XOMG2YUOPMc/286QQYg3SvwBZhW/mR pUOtrbFe84eIVrjPAzWdzoyact3Fg/w= X-Google-Smtp-Source: ACcGV62vy67h86cX9RLEP1wsTNCU+yB3ffy9Y6kyscyzFvkoew/h5pCdpunnJUA3/VGnUYAv7rDUkA== X-Received: by 2002:a17:906:64c:: with SMTP id t12-v6mr10178224ejb.113.1538727149462; Fri, 05 Oct 2018 01:12:29 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:569e:0:3106:d637:d723:e855]) by smtp.gmail.com with ESMTPSA id b12-v6sm1260087eje.36.2018.10.05.01.12.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 01:12:28 -0700 (PDT) From: Daniel Vetter To: Intel Graphics Development Date: Fri, 5 Oct 2018 10:11:51 +0200 Message-Id: <20181005081152.29482-21-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.19.0.rc2 In-Reply-To: <20181005081152.29482-1-daniel.vetter@ffwll.ch> References: <20181005081152.29482-1-daniel.vetter@ffwll.ch> MIME-Version: 1.0 Subject: [Intel-gfx] [FOR CI 21/22] drm/doc: kerneldoc for quirk_addfb_prefer_xbgr_30bpp X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Shuts up warning noise. Signed-off-by: Daniel Vetter --- 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; /**