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: 11128615 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 1E5E914DE for ; Tue, 3 Sep 2019 19:06:03 +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 0617621897 for ; Tue, 3 Sep 2019 19:06:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0617621897 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EC56C897E9; Tue, 3 Sep 2019 19:05:57 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by gabe.freedesktop.org (Postfix) with ESMTPS id B7695897DC for ; Tue, 3 Sep 2019 19:05:56 +0000 (UTC) Received: by mail-ed1-x544.google.com with SMTP id r12so19575098edo.5 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=ERqkZNcfHiK664VPwJAQg1FLHPxZpeihLJ67gSY7S6G/onlZM654ri4ZUz9M4aaGUc bY33BEJ68Nl9HvU1eAaZaW0luaF2JVgAdmSztjEerCrPLo5TwVJDmcD2H/GMFwwC32fO 3cfq8gDYlzvQneB2epIGnBRvv7jn4DzjY0M/BKOJ/z8bbgbZiF0eY9C+oiEA8dMCtIV6 0IVGcYaXpVKGKgkaMhl6K9wnSE9740mqc/zT+EKlJe8REJjnz66lArswDCM+6nbUqTd/ cl1bzlWD1f04ZcyIhnx4KGIOQoZv7UtJYYoCA+1yKmZBgzmUp+WhU51y+rFTkPICbqsh MBcw== X-Gm-Message-State: APjAAAXdQ1Rdkhi5a0l3IvraRQAH+3oGG0Lab37sYu2mI7sHnrL6ORzN hDKi1ERH15KKZ7zjrQtTBV70oA== 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 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= Subject: [Intel-gfx] [PATCH 3/3] fixup 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: , Cc: Daniel Vetter , Intel Graphics Development Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" --- 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;