From patchwork Thu Jun 3 15:03:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 12297357 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=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 D4D96C47082 for ; Thu, 3 Jun 2021 15:03:35 +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 63E1E6023D for ; Thu, 3 Jun 2021 15:03:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63E1E6023D 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 BC3776E1E0; Thu, 3 Jun 2021 15:03:33 +0000 (UTC) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by gabe.freedesktop.org (Postfix) with ESMTPS id 408456F48E for ; Thu, 3 Jun 2021 15:03:33 +0000 (UTC) Received: by mail-ej1-x629.google.com with SMTP id h24so9748975ejy.2 for ; Thu, 03 Jun 2021 08:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mpf+22HJp3bXTLvdn/Ycffjhcm4o9o/MNAerroFOnOE=; b=U7IQY+Yqtz8Hrs1nZlKCD2HYN2Uwh9i/SaVt9a8FCgR1Hqe0kGwMmrDJFOcHByMJP/ mRjVr8TzYc4a/3ub/VBedTorux2Z4d69vFEaftpVWp1cIrZMCmXC9FCywAJ1pnzfSlZ/ eruSWGAN4HZ3hlo5u5dTlfL5BsnVVjyFExfdg= 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:mime-version :content-transfer-encoding; bh=mpf+22HJp3bXTLvdn/Ycffjhcm4o9o/MNAerroFOnOE=; b=DxmNA3SyjoWJCHiWgc9Ed7qA2wmfvsfHiNp/mK0FLICR0OD0thnGZyLwji+3tsue1J cUaMsVplF8ILmGq1nKgkcxxhaM06X8o3TG3vEVXwNYB06L5jH1pYYklH8zgeigWvfcd6 g+DN3qwR54pY0gFk3kHpV29osZn7qw7Hqx4uRLTniEm7bKCoqQzG2+Wb42TrpWPV6jph xUDr+ue563M8GQVV0MFnGyOG1EmdzBmCiRtsSVueb3ByzIHEczS9L9twv7SFnAaV4lRX fMxqpiBpzufAB8x8q1HaEWBIh1rINDqfg1b/l6IMX4fP9l9ZP4CapWmXJU4Gauv9CC42 WtRw== X-Gm-Message-State: AOAM532M9YgjFN6wVzGViaMU2rYhIaseEN0zZDDH+Vziyl6OjUVgBhEI YD1ImTg3GfkMgoJfjItY8qumqnbbdCBkcA== X-Google-Smtp-Source: ABdhPJy9MJtoY89TBW+O0pLEcP09O9i8V8ABSjmBxpFj085wKOBfvRcttMvXAKfEerjN5ZUybgdPqA== X-Received: by 2002:a17:906:1701:: with SMTP id c1mr13936eje.425.1622732611935; Thu, 03 Jun 2021 08:03:31 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id hz10sm1621791ejc.40.2021.06.03.08.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Jun 2021 08:03:31 -0700 (PDT) From: Daniel Vetter To: Intel Graphics Development Subject: [PATCH v2 0/4] shmem helpers for igt Date: Thu, 3 Jun 2021 17:03:22 +0200 Message-Id: <20210603150326.1326658-1-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 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: Daniel Vetter , DRI Development Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi all, I finally figured out why CI is unhappy on some machines, we've lost WC mode on the vgem side! Test-with: 20210527140732.5762-1-daniel.vetter@ffwll.ch Cheers, Daniel Daniel Vetter (4): drm/gem-shmem-helper: Export drm_gem_shmem_funcs drm/shmem-helper: Switch to vmf_insert_pfn drm/shmem-helper: Align to page size in dumb_create drm/vgem: use shmem helpers drivers/gpu/drm/Kconfig | 3 +- drivers/gpu/drm/drm_gem_shmem_helper.c | 11 +- drivers/gpu/drm/vgem/vgem_drv.c | 346 ++----------------------- include/drm/drm_gem_shmem_helper.h | 1 + 4 files changed, 25 insertions(+), 336 deletions(-)