From patchwork Wed Jan 10 04:25:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rhys Kidd X-Patchwork-Id: 10153943 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 621AC60231 for ; Wed, 10 Jan 2018 04:26:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63FDB26212 for ; Wed, 10 Jan 2018 04:25:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 585F127DA4; Wed, 10 Jan 2018 04:25:46 +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 2198A26212 for ; Wed, 10 Jan 2018 04:25:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3AB856E192; Wed, 10 Jan 2018 04:25:43 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-qt0-x242.google.com (mail-qt0-x242.google.com [IPv6:2607:f8b0:400d:c0d::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8762C6E18B for ; Wed, 10 Jan 2018 04:25:27 +0000 (UTC) Received: by mail-qt0-x242.google.com with SMTP id e2so20594327qti.0 for ; Tue, 09 Jan 2018 20:25:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4h1h5G6ffZj7lYQUlqsR9WGLTOkoxshTRX0Vz5kygY4=; b=WXJuDyJlxwF5jzi007Z5IRuxqxQ5XHjyEoE0g/EsO7xboRjl84ML8+5uqfm/CHqYz4 uilhF/PhYgXA6P/k1PRUdFz8xMTug9Fx6cJ7v4OLZ7ni//q1KMOVstUVYJ5nlkUc2BgA wyEbeyU8Dxi63BwNrp8V6K0UySus6FxinQJp/AxyiIci8+rM60ENNgIxi0M5HpwEQPLV VqLdYurkpjSdRnHn82HvHXGpW9wpnh+fps/I9tHemLTrf9OMRLYwcob2VEMPITAf4QE3 WI2H1QYT7Zy6szV/ZeDBxEEG3Qo436bOLXneN1uh3juW2dSAO/hots8RgugQUr5lo1CI oDSw== 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; bh=4h1h5G6ffZj7lYQUlqsR9WGLTOkoxshTRX0Vz5kygY4=; b=XvRD3PteF9aFNDCZ3ZGoRISDR85BmtEbFFLs26N8YReicm/TlZ+Vxr0ZuB8BOc2HpD o6xjOvv4ydOit4Cf575DdHBf5ybAKHSRT4eATVntuKk/Gi0E89AFHjtoFznDrtlaNq+8 3sO2bw53ozUUI3wqV7KB3jVocvdkgYD3JATgFq93D5NnUMl+MIlOR8iEsTV1BLkLgeJI dWIEc296eshvG4SlTEQcBZhmImbR8PheZKblTCQLyRNKWxG9PIGBFAUnn/xMLBVsKacz bO7iH+0JXQCdAVwFxxumnEqg4keZY5dJE6PMmr5LCbOLCegZgYOrrgrG88Ff+x5XdQFP z8+w== X-Gm-Message-State: AKwxytcAPqoNzczaps68BO5n2gF7mqGlF26rIKdh78pD9qxZqkKSul7i AkHM0KcM/9pip0ABZjMOgJccDw== X-Google-Smtp-Source: ACJfBou5LI7V1RkBb7e9zgZjMR1SM+xXKeOE10hNIuRe5LwPfgDegKWxxhosEGfDx8ivJB/orGnWAQ== X-Received: by 10.237.59.139 with SMTP id r11mr24344342qte.65.1515558326453; Tue, 09 Jan 2018 20:25:26 -0800 (PST) Received: from xps9560.fios-router.home (pool-108-30-59-81.nycmny.fios.verizon.net. [108.30.59.81]) by smtp.gmail.com with ESMTPSA id n24sm10165795qta.50.2018.01.09.20.25.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jan 2018 20:25:25 -0800 (PST) From: Rhys Kidd To: intel-gfx@lists.freedesktop.org Date: Tue, 9 Jan 2018 23:25:11 -0500 Message-Id: <20180110042511.7551-3-rhyskidd@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180110042511.7551-1-rhyskidd@gmail.com> References: <20180110042511.7551-1-rhyskidd@gmail.com> Cc: Ben Widawsky Subject: [Intel-gfx] [PATCH i-g-t 3/3] debugger: No longer rely on compatability define in intel_bufmgr.h X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Symbol rename from dri_* to drm_intel_* introduced a number of compatability defines within intel_bufmgr.h. Replace the old function with the new function, consistent with the balance of this file. Signed-off-by: Rhys Kidd Reviewed-by: Ben Widawsky --- debugger/eudb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debugger/eudb.c b/debugger/eudb.c index 8384950a..de37be52 100644 --- a/debugger/eudb.c +++ b/debugger/eudb.c @@ -562,7 +562,7 @@ int main(int argc, char* argv[]) { if (fscanf(stdin, "%1d", &dh_handle) == 0) exit(1); } - scratch_bo = intel_bo_gem_create_from_name(bufmgr, "scratch", dh_handle); + scratch_bo = drm_intel_bo_gem_create_from_name(bufmgr, "scratch", dh_handle); if (scratch_bo == NULL) { fprintf(stderr, "Couldn't flink buffer\n"); abort();