Message ID | 20180421225022.7592-2-stschake@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 871C1604D3 for <patchwork-dri-devel@patchwork.kernel.org>; Sat, 21 Apr 2018 22:51:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80C8B2891A for <patchwork-dri-devel@patchwork.kernel.org>; Sat, 21 Apr 2018 22:51:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7567E28924; Sat, 21 Apr 2018 22:51:12 +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.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED, T_DKIM_INVALID 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 0A6D82891A for <patchwork-dri-devel@patchwork.kernel.org>; Sat, 21 Apr 2018 22:51:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2028A6E0F3; Sat, 21 Apr 2018 22:51:03 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 216866E0D7 for <dri-devel@lists.freedesktop.org>; Sat, 21 Apr 2018 22:50:57 +0000 (UTC) Received: by mail-wr0-x243.google.com with SMTP id h3-v6so31532916wrh.5 for <dri-devel@lists.freedesktop.org>; Sat, 21 Apr 2018 15:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NsK++rD/U/yPXqfAXJhAfLH8fNhEsShHEleOJhwEbbk=; b=NHPXa774rjcSB0Qvlu7c0kXxKR6Q5lTEObVTdOgmBzROZUl9iYsX/DaPhhp/FhxR8G hSCQ1P0KkDqGLg5vCJJHz4nSu73T96UNt3CIY7GYZ+49ahh5+e87RC5hAo3B9G2fJsek 1IGGBT/jcoPjV5I8XJoZM3bNLDaLy/fyfrSH8AdH3KdG5z2Q2FOx9Xhyb7Y2lAhVhafw s1RMpAZhfx/5Gb6FSSUcrCX0LJc2AgrpvmYlSPJeORE5azanWMqu468QikgXhZHfZ3Gx /KToSdg6kWUDfLSZ1LBRMnk/0NmZWUPziY3VDm0F5oqGAGIbPNdbGOTPmpvAXD6Ykjii KhpQ== 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:in-reply-to :references; bh=NsK++rD/U/yPXqfAXJhAfLH8fNhEsShHEleOJhwEbbk=; b=YUgcTB92b+ZCqF+d7Fyz1gxLNYgfmaZ7WmDasDsCWCO095vk02hNpvtID4LFU9fN5w Eqi21LkPy55PfvNWcbK+Djn8pV9SnqK1Zb5VYyKYCvqPhwzBDYkqIP+GF2ivlp93N0Pq Kq37SMG75jJLjYAvlt/pzUwajkhbTQ+AdpKkjhGRxIWgDjReaZpFbbhNhXLD//KhYrWt mjrHL0VVwRw5vCiia6T4YwKvI+Ic6L/tM7fesY8tdfyjH+mbp4qMXGtDJUNaQlGlJAVp vIobggqROnLb4zJyRnqjHZrYoQ0BKH/0SRMskNDNu8dDuWfp15ecLqeNnewE6yQA/rpi rfMg== X-Gm-Message-State: ALQs6tCMMhxJ8ieb9uq009VXgAJx/T3sPFkmMuWJKBcnmbAKqCtDFQPZ WcQztezZK6pRGtD84LS7ld0= X-Google-Smtp-Source: AIpwx49lqJvrfPP2UA/4/3FAgRroQrykBLMvYmrExRtubPpo1EAwReO012HqZMc5NMCcfCeCt1DsaA== X-Received: by 2002:adf:8712:: with SMTP id a18-v6mr11751586wra.216.1524351055756; Sat, 21 Apr 2018 15:50:55 -0700 (PDT) Received: from localhost.localdomain (ip-88-153-118-32.hsi04.unitymediagroup.de. [88.153.118.32]) by smtp.gmail.com with ESMTPSA id 55-v6sm18528098wrw.52.2018.04.21.15.50.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Apr 2018 15:50:54 -0700 (PDT) From: Stefan Schake <stschake@gmail.com> To: eric@anholt.net Subject: [PATCH 1/4] drm/vc4: Enable syncobj support Date: Sat, 21 Apr 2018 15:50:19 -0700 Message-Id: <20180421225022.7592-2-stschake@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180421225022.7592-1-stschake@gmail.com> References: <20180421225022.7592-1-stschake@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: airlied@linux.ie, linux-rpi-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Stefan Schake <stschake@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c index 94b99c90425a..806c8004b793 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.c +++ b/drivers/gpu/drm/vc4/vc4_drv.c @@ -175,7 +175,8 @@ static struct drm_driver vc4_drm_driver = { DRIVER_GEM | DRIVER_HAVE_IRQ | DRIVER_RENDER | - DRIVER_PRIME), + DRIVER_PRIME | + DRIVER_SYNCOBJ), .lastclose = drm_fb_helper_lastclose, .open = vc4_open, .postclose = vc4_close,
This doesn't require any additional functionality from the driver but is a prerequisite to userland calling the syncobj ioctls. Signed-off-by: Stefan Schake <stschake@gmail.com> --- drivers/gpu/drm/vc4/vc4_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)