From patchwork Mon Jul 31 19:36:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 9873067 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0862360365 for ; Mon, 31 Jul 2017 19:37:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 02CD628521 for ; Mon, 31 Jul 2017 19:37:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EAF7128542; Mon, 31 Jul 2017 19:37:04 +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=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM 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 97B3428521 for ; Mon, 31 Jul 2017 19:37:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 69A4A6E855; Mon, 31 Jul 2017 19:37:02 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt0-f193.google.com (mail-qt0-f193.google.com [209.85.216.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id 53E816E853 for ; Mon, 31 Jul 2017 19:37:01 +0000 (UTC) Received: by mail-qt0-f193.google.com with SMTP id t37so16255942qtg.2 for ; Mon, 31 Jul 2017 12:37:01 -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:cc:subject:date:message-id; bh=hisl8VycMw2gE+WnjVQYOV1Lp+zJGRSc8gfnVMNlypU=; b=NfXQLgNS21mvludbNfDwdr7obiPKsnp3gA5Fz2Q6g80LBpqI0QMuBJirZI2ADj1QcB IDTgXz+byv+N9KZRW2EnzdtiDgVeKbY7TXJ9A1R0FjqxlrbPkr3EAhZG6VLAc+V3qf6N /3XHXmIqPYBAZ/cYcMlYzO0Y5uBVS5jAP7OMteYM79EESZ3bFX9UdPdOHTXz/+rFoBEZ y+sq5DPizscRzekK3RKc+dGqlxqP5YjclMfZXw2vgW31TBQs7TNPsm73HRyNwANpXLqn kBvw68tQsJz31OrGgGp2P9n7wQ4/QAdXtXeK/NJEixdcX7hrBr3PaYIxOdcrFcsUEMjr G9sQ== X-Gm-Message-State: AIVw1109cycUFzYVkjqBhr964MgzsPlLV94xgsr9h1NXVtDtckwdzxzn 9SN3Whg9E77wSVkNrdo= X-Received: by 10.200.49.7 with SMTP id g7mr24452990qtb.118.1501529820216; Mon, 31 Jul 2017 12:37:00 -0700 (PDT) Received: from localhost.localdomain ([191.8.95.213]) by smtp.gmail.com with ESMTPSA id a126sm20211204qkf.25.2017.07.31.12.36.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Jul 2017 12:36:59 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH] dma-buf/sync_file: document flags field Date: Mon, 31 Jul 2017 16:36:55 -0300 Message-Id: <20170731193655.6176-1-gustavo@padovan.org> X-Mailer: git-send-email 2.9.4 Cc: Gustavo Padovan X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Gustavo Padovan Documentation for it was missing. Signed-off-by: Gustavo Padovan Acked-by: Sumit Semwal --- include/linux/sync_file.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/sync_file.h b/include/linux/sync_file.h index 0ad87c4..790ca02 100644 --- a/include/linux/sync_file.h +++ b/include/linux/sync_file.h @@ -25,8 +25,12 @@ * @file: file representing this fence * @sync_file_list: membership in global file list * @wq: wait queue for fence signaling + * @flags: flags for the sync_file * @fence: fence with the fences in the sync_file * @cb: fence callback information + * + * flags: + * POLL_ENABLED: whether userspace is currently poll()'ing or not */ struct sync_file { struct file *file;