From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFE03C47096 for ; Thu, 3 Jun 2021 21:20:49 +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 ACF316139A for ; Thu, 3 Jun 2021 21:20:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ACF316139A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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 38F176E5CD; Thu, 3 Jun 2021 21:20:49 +0000 (UTC) Received: from mail-oo1-xc2e.google.com (mail-oo1-xc2e.google.com [IPv6:2607:f8b0:4864:20::c2e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6C6BF6E5CD; Thu, 3 Jun 2021 21:20:48 +0000 (UTC) Received: by mail-oo1-xc2e.google.com with SMTP id p67-20020a4a2f460000b0290245cdf2d1a4so1737371oop.8; Thu, 03 Jun 2021 14:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3SeUvF7OIDkpxCXqtIck2gO5mE5Gg4u2wRaOQGVjGWw=; b=W6+O0iug26rLcB+roGOt+18y3GK4Bf+OYXYRX4uiq1TLDGLGcU9uJg+vRpAg8IN8WV 8P6BNiE7CEhaYbETChSMvtjLWl9b/Yc1B3q4eivOKd+bwukk9vIlnHLjfRZwoS409JJF uyQ6SraBR0zQK40RJ+0wJFFWcs9oq7i+miK80VDsYw6v6/eZ+UdIT5TdUlRuPlvXI5Ij Q6cQejYD/zoVjjxqQv55Xh0R6gsQ2uBcYol/Bo6d93GI1gRN7chCZCvmNNJUqf9PcTw2 ncxipyQ9GllRX7CCDtXaa6r9J/SjhL7Lybe/au69Yz/jtIXedeIzigw1lt8BVE5mjOus +f9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3SeUvF7OIDkpxCXqtIck2gO5mE5Gg4u2wRaOQGVjGWw=; b=nXtR0geYtrFp4oGo6UPo2IWqgwjsT+s4W6U68o+vXHVdi9Yj1BYYqCCRXg9NAa0gYg v2OU1OBG9fqQlnhiPumKqeFnVfkf6tJULBg8Bvp/AMNT6qCDATwc7YpVmkE7dvbrbLFh j+11QsTPkwbYy7dB1YvHVtWYXFQy0A+eqPP3kfC+gqpfWkPESFNlTF0g5ulwXb04cMxt ZLd+LLVKa2hCqaOgwXHnkv27vLW0cz6NLjZxov8V1mnEt2Tzl8k14glslHBe9CM/0uGQ xeHq45ASwEJkC6rqogknodvATcLkWep3AtbXnhSfL2xbqNpUUt3mjHe9O6mlPCL/kWaZ Zy6w== X-Gm-Message-State: AOAM5324eyEoIPIVE4eXJp0/MsuXhck37bLo1DzL9deGgkj1jnafp783 RJul2As4cZFZABZskaMNzO5le7wPOWNbX/5bs5A= X-Google-Smtp-Source: ABdhPJy8ZNDycH1ijYMXayKBFnDLTcFWz7GeziFoo4NKpFef0nGYSICXcxd+28mjudNGaH9VAE3S9BQt6LsXJaNbb9E= X-Received: by 2002:a4a:8c09:: with SMTP id u9mr1027595ooj.72.1622755247767; Thu, 03 Jun 2021 14:20:47 -0700 (PDT) MIME-Version: 1.0 References: <20210601201702.23316-1-andrey.grodzovsky@amd.com> In-Reply-To: <20210601201702.23316-1-andrey.grodzovsky@amd.com> From: Alex Deucher Date: Thu, 3 Jun 2021 17:20:36 -0400 Message-ID: Subject: Re: [PATCH 0/7] libdrm tests for hot-unplug feature To: Andrey Grodzovsky Content-Type: text/plain; charset="UTF-8" X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Deucher, Alexander" , =?UTF-8?Q?Christian_K=C3=B6nig?= , amd-gfx list , Maling list - DRI developers Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Please open a gitlab MR for these. Alex On Tue, Jun 1, 2021 at 4:17 PM Andrey Grodzovsky wrote: > > Adding some tests to acompany the recently added hot-unplug > feature. For now the test suite is disabled until the feature > propagates from drm-misc-next to drm-next. > > Andrey Grodzovsky (7): > tests/amdgpu: Fix valgrind warning > xf86drm: Add function to retrieve char device path > test/amdgpu: Add helper functions for hot unplug > test/amdgpu/hotunplug: Add test suite for GPU unplug > test/amdgpu/hotunplug: Add basic test > tests/amdgpu/hotunplug: Add unplug with cs test. > tests/amdgpu/hotunplug: Add hotunplug with exported bo test > > tests/amdgpu/amdgpu_test.c | 42 +++- > tests/amdgpu/amdgpu_test.h | 26 +++ > tests/amdgpu/basic_tests.c | 5 +- > tests/amdgpu/hotunplug_tests.c | 357 +++++++++++++++++++++++++++++++++ > tests/amdgpu/meson.build | 1 + > xf86drm.c | 23 +++ > xf86drm.h | 1 + > 7 files changed, 450 insertions(+), 5 deletions(-) > create mode 100644 tests/amdgpu/hotunplug_tests.c > > -- > 2.25.1 > > _______________________________________________ > amd-gfx mailing list > amd-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx