From patchwork Tue Oct 10 08:53:42 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: 9995333 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 7B06D60230 for ; Tue, 10 Oct 2017 08:53:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6441D28389 for ; Tue, 10 Oct 2017 08:53:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 57DDD28396; Tue, 10 Oct 2017 08:53:53 +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 EF00028389 for ; Tue, 10 Oct 2017 08:53:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DA69A89EBD; Tue, 10 Oct 2017 08:53:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id F41D789EBD; Tue, 10 Oct 2017 08:53:48 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id r68so11989784wmr.4; Tue, 10 Oct 2017 01:53:48 -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=J91zQldlf7u4n/dFc2Na459bCBPjdkd/ECSvv/MA27o=; b=WrcYTdgKlThlnrvV2JJJwk0868oR84JfY+LkvItyAUNZzwtM/zj2kH96M5uy0lqO5c Ukr3sZp7EhlJ1gwbMhNVdlEajBIbnxaMNh+Wc40nDA0/BFvF7C0o7m1fATsHwD09fOGM ARui8b0Z4ltmRj4tG55u9wfTSBCt7nTpYIJYA7g1AZF88xoABVWGFxLQEZ2VR+DXcWnE Y6IwpB7hi4oUQJ55eD7pWhZwcb8j929glv3VolA65458H8refbQxQzTLTFKrKnITj8J9 HoZziUPOokpChCFdYdNKtyGgM6/vkBmJuyfqqEPQp0wWeojk7MZWwneMipKFHCkZRhek kFUQ== 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=J91zQldlf7u4n/dFc2Na459bCBPjdkd/ECSvv/MA27o=; b=HcgXYNo0hXypPgZoq/5q5SCdxii5DbaPs0vlrwg9YOZM/zMDr9dWt08a2IJ8gyjSEt Ug35aYA++HF1v4SGl72wwK5jurxRQoqyy9uc/b1+HpQ8hDNmRUfAxzzQrWLNEQx92k2y vL98ns7HwOZKPn3YpiGXvFUZ9P8/UglwYnzeeAh9voaYL3ny2KPdL0qXqMNfSGkWiRR6 rMxnfbtnHa2KEHrRBM8hI8Ed+O4vdKOr9pIeFFbbS0FEBfSQZ/Sm7G3ygsM2EQoecaNL xgryNiY5VmdvAfyd98/AxSixB3DzS1Dcd7Z93+DlK6/SGUe3nJo4Xo+5uwSFkpWqNqVm LY4Q== X-Gm-Message-State: AMCzsaX7CuYsymI1bB6xN/YnDbfZq7Teq2s/net48q6ZbCV2qtoi0FhP kRPQeK+0fBW2ZVQHG/lKDGAXQSml X-Google-Smtp-Source: AOwi7QD2PQbYKWtd9ykB0Ll1zR99M06FyvvMd5CCHZ4/g/92KmQvE6el3bQBfh6GTfUojyH+5fqeFA== X-Received: by 10.223.195.147 with SMTP id p19mr3432463wrf.176.1507625627354; Tue, 10 Oct 2017 01:53:47 -0700 (PDT) Received: from localhost.localdomain ([2a02:908:1251:7981:c8a1:1d38:1f91:26ed]) by smtp.gmail.com with ESMTPSA id r15sm6041462wrc.30.2017.10.10.01.53.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Oct 2017 01:53:46 -0700 (PDT) From: "=?UTF-8?q?Christian=20K=C3=B6nig?=" X-Google-Original-From: =?UTF-8?q?Christian=20K=C3=B6nig?= To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 1/4] drm/ttm: don't use compound pages for now Date: Tue, 10 Oct 2017 10:53:42 +0200 Message-Id: <1507625625-8665-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. bug: https://bugs.freedesktop.org/show_bug.cgi?id=103138 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;