From patchwork Mon Oct 9 15:55:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Christian_K=C3=B6nig?= X-Patchwork-Id: 9993749 Return-Path: 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 AE02660216 for ; Mon, 9 Oct 2017 15:55:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A052C2879A for ; Mon, 9 Oct 2017 15:55:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 951B2287FA; Mon, 9 Oct 2017 15:55:08 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 CBB042879A for ; Mon, 9 Oct 2017 15:55:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A4DAD6E283; Mon, 9 Oct 2017 15:55:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 098E86E283; Mon, 9 Oct 2017 15:55:05 +0000 (UTC) Received: by mail-wm0-x242.google.com with SMTP id b189so23711970wmd.4; Mon, 09 Oct 2017 08:55:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=M1DH7Um/909x52Lvk996vKcvQHommIcn+/vyq8uL7Qk=; b=epbX6T7P+Pfj+zzKg+tv1bgFGx+u45K4k0wIJn1Y7N9rWRLBSixkg0EcwzJ9P2DT2i 78z8RLSBWtE7zt5mNb5qRY5QXfd/Qv90w5+r/nVfNpI79iBWJtslabpPmJPT45Vq+qfV zPu9Qwksjf70Zq6w0oakTH5jE6BtkpvtN/9AtH76/e1AC9B0w41wAA6kh6sJTgx65E1E pUYC4g1fXw8KjV46MX3SR2m/4TNAeZvnUkThMglzn4ICB1GcF2Jg5WWhEPT0nljv0+AJ 4MxFoxyLdFzYD1rEecyC+TA/0hQnwaFzs7UkfR+5adPQaZXd1z9i5ezuHVomjtX2pSUp asdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=M1DH7Um/909x52Lvk996vKcvQHommIcn+/vyq8uL7Qk=; b=fsr5nxBdw6c09VzS2OGsrZn1HS5wUMnw5lfzFaQ6P7FHmNi3zQCaMmu/VJZ7/tiITd w3r/Xu+5lUQiJri7enPnsA9RGo9fAh7BKzWF9NA+ScefAOT/HtGIddnLzjkA3V64m0DC Jwb4pT6ZUtKVkKOsnhNUDDm/BxLccOnVLqN18C+dDlztxdei+/4byWjhV3dF+SGWAbZP mz1RqSb1BgoQGuDh6ichUOc5q0rg+aIgoXBddpYZQNabV6ezRRZPhocMGv8yZ2o9pjH6 7Td2VVsWjxK70IdDbu5lI0p3qggzt0kB1NV/Ed72t0AxQr2KPnbr1HOEWxjyThgs3gzf ivpg== X-Gm-Message-State: AMCzsaUXheOJYne+vi8pOkK5eszNIw+3louVuWyct/o751U30ie/f5j1 dF3pxA9YrjzVZZJXUI+jLVvUI76e X-Google-Smtp-Source: AOwi7QA5dMK4cgtYQS/0J02EzoNvujvvZmDWiBpVkm5ujFrI1Sj2WXqYObJeTL6Uso43IG2cUzNm+g== X-Received: by 10.28.175.1 with SMTP id y1mr5424249wme.50.1507564504348; Mon, 09 Oct 2017 08:55:04 -0700 (PDT) Received: from localhost.localdomain ([2a02:908:1251:7981:a07c:6f70:2850:8354]) by smtp.gmail.com with ESMTPSA id o11sm6106948wrg.5.2017.10.09.08.55.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Oct 2017 08:55:03 -0700 (PDT) From: "=?UTF-8?q?Christian=20K=C3=B6nig?=" X-Google-Original-From: =?UTF-8?q?Christian=20K=C3=B6nig?= To: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org Subject: [PATCH] drm/ttm: don't use compound pages for now Date: Mon, 9 Oct 2017 17:55:03 +0200 Message-Id: <1507564503-8494-1-git-send-email-deathsimple@vodafone.de> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Christian König We need to figure out first how to correctly map them into the CPU page tables. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c index e5ef10d..96ad129 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c @@ -913,6 +913,7 @@ static gfp_t ttm_dma_pool_gfp_flags(struct ttm_dma_tt *ttm_dma, bool huge) if (huge) { gfp_flags |= GFP_TRANSHUGE; gfp_flags &= ~__GFP_MOVABLE; + gfp_flags &= ~__GFP_COMP; } return gfp_flags;