From patchwork Tue Sep 3 19:05:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 11128619 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E01091398 for ; Tue, 3 Sep 2019 19:06:04 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C7DC221897 for ; Tue, 3 Sep 2019 19:06:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C7DC221897 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 178E8897DC; Tue, 3 Sep 2019 19:05:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@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 E7683897E3 for ; Tue, 3 Sep 2019 19:05:56 +0000 (UTC) Received: by mail-ed1-x541.google.com with SMTP id o9so7994339edq.0 for ; Tue, 03 Sep 2019 12:05:56 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=BHSSDEkT7dUoxkAbSUA7HqJarSSXFug0EO2xPu8QeaE=; b=CApGdTNzsdbB9PSrE0kcVgTnHr3g8/EOZ9DhmubC1NUPx7m3UcFpDuhplhESnwzMKs Ea8oPC0KcYSNRSTOei4eho8nZTGl2K/uRFDPpIUVuytd+P2sy2J275tS4Qs20kU+nj5+ N3vL6Y8kuLXcgKXtNW7EVkc4jAESOHuKp54UWZUv2tg6znuAYWEEq100z+GGcZVCHSpS QMNNy1NeOgg/SlrOLGSF3AICZXWa5t8+DLJKr6zlbxJhkFeJvsHKNm9W95A+yd8NAheZ aC2emax2iHuO+iyc7t4L7ipAFsvjKc/C0/o2D9iAaYR7yThkefWA0AgZoBTTHR2N21o4 SrFQ== X-Gm-Message-State: APjAAAVgv8uCYaNkVvSG74cdYCNc0qCMMuuGbhFJP6LKlBdWk9AgGCGZ 1CZ1ewbLIrpIOfZUfyLY8NJH+Xm6EEI= X-Google-Smtp-Source: APXvYqy+JQSGWqGQuMtj6yyu118O5oO+3b1ZZ2WlJR4dfBvOlOeP+4E/+y50Ne51tVTLlxZlhCtQiA== X-Received: by 2002:a50:9438:: with SMTP id p53mr18679424eda.291.1567537555279; Tue, 03 Sep 2019 12:05:55 -0700 (PDT) Received: from phenom.ffwll.local (212-51-149-96.fiber7.init7.net. [212.51.149.96]) by smtp.gmail.com with ESMTPSA id 60sm1766309edg.10.2019.09.03.12.05.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2019 12:05:54 -0700 (PDT) From: Daniel Vetter To: DRI Development Subject: [PATCH 3/3] fixup Date: Tue, 3 Sep 2019 21:05:45 +0200 Message-Id: <20190903190545.31852-3-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190903190545.31852-1-daniel.vetter@ffwll.ch> References: <20190903190545.31852-1-daniel.vetter@ffwll.ch> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BHSSDEkT7dUoxkAbSUA7HqJarSSXFug0EO2xPu8QeaE=; b=HhqwnK6bxhtv5asCKJmvx15Fz2sOmNFglhLHa1ykapOOf/Xl0/pUmQnUks/7GirIni i2k9kGXEd/AIGCTVbWZNOn1cCXeFPjt5VBjDxjL6OqghAxBDSCAO7wvAOn1sbYKhwsKz 5XwQbndBw101DBNPm8vhz2fDt/u/kTIHXeMuA= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , Intel Graphics Development Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --- drivers/gpu/drm/drm_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_ioctl.c b/drivers/gpu/drm/drm_ioctl.c index 3c015dd3c94b..1cb7b4c3c87c 100644 --- a/drivers/gpu/drm/drm_ioctl.c +++ b/drivers/gpu/drm/drm_ioctl.c @@ -335,7 +335,7 @@ drm_setclientcap(struct drm_device *dev, void *data, struct drm_file *file_priv) break; case DRM_CLIENT_CAP_ATOMIC: /* The modesetting DDX has a totally broken idea of atomic. */ - if (strstr("X", current->comm)) + if (strstr(current->comm, "X")) return -EOPNOTSUPP; if (!drm_core_check_feature(dev, DRIVER_ATOMIC)) return -EOPNOTSUPP;