Message ID | 1393995704-29184-6-git-send-email-djkurtz@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 892B29F35F for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 5 Mar 2014 05:02:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC85920218 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 5 Mar 2014 05:02:31 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id E689A20237 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 5 Mar 2014 05:02:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 00135FA2D7; Tue, 4 Mar 2014 21:02:24 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by gabe.freedesktop.org (Postfix) with ESMTP id 9DA39FA2E4 for <dri-devel@lists.freedesktop.org>; Tue, 4 Mar 2014 21:02:07 -0800 (PST) Received: by mail-pd0-f173.google.com with SMTP id z10so552758pdj.4 for <dri-devel@lists.freedesktop.org>; Tue, 04 Mar 2014 21:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KUTCt2BZf4s1+hDQNFj4cTG8uoTwXRojICOhE4bHM0A=; b=aO9RNu2oBhTlSYxGhHzlWBgOlnQEX8a8aml2yRIbi2bOqO1yprzG2AYLfJAlhGIWJ2 f47sAnHEgnMJuFFTrwqr72icmV1hLWtVSp78/psrOB0GwhpShs6wO+1F+O1s70lTkLmB xB1QBeAIiLTM3uaTIv7KwlIcpvUbEnuu+0jOU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KUTCt2BZf4s1+hDQNFj4cTG8uoTwXRojICOhE4bHM0A=; b=lR5+jRVo8Fp1vxPJ7zEGRR755OZpSdnWWUZNQk5PYG9PLE7VlXaV3RX7BF3jq4+i8i sqsj4g2rPuPPO+3U71DTGqH6Cg1RNZLc1C1KFAt5grrr1/+ksSgGdofVm+5IlPZy6A4Q 2ISGU/QDeTUGQuraL2FKvdVIO5f5aH4fRQ+aL09ta3mCQJjwekwugJgP/lx3vPRDowjN bbH1WGAKm6n+J1h3yg3noxn1TEZhNJyTkwQ9/9uSGbsnyYKbQ2Vnp3TE4nU+ILNl/dkC cLJJymnGqJoc+tSZR5VwaBqULdl+/u1TsYrDuh9TBOea0Z1MUSafo3deQddr7yW4xMG8 1NqA== X-Gm-Message-State: ALoCoQnP0jmRUVn5AZgBwdfMlJM09Qgyk4qA6dlWASWvjvWFWSuwPmXrc6lL33kgWXjrO1QE5ZJt X-Received: by 10.66.155.102 with SMTP id vv6mr4150192pab.89.1393995727425; Tue, 04 Mar 2014 21:02:07 -0800 (PST) Received: from djkurtzt530-glaptop.corp.google.com ([216.239.55.197]) by mx.google.com with ESMTPSA id ac5sm3266130pbc.37.2014.03.04.21.02.05 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Mar 2014 21:02:06 -0800 (PST) From: Daniel Kurtz <djkurtz@chromium.org> To: dri-devel@lists.freedesktop.org, Inki Dae <inki.dae@samsung.com> Subject: [PATCH 5/8] exynos_fimg2d_test: fix drmModeRmFB Date: Tue, 4 Mar 2014 21:01:41 -0800 Message-Id: <1393995704-29184-6-git-send-email-djkurtz@chromium.org> X-Mailer: git-send-email 1.9.0.rc1.175.g0b1dcb5 In-Reply-To: <1393995704-29184-1-git-send-email-djkurtz@chromium.org> References: <1393995704-29184-1-git-send-email-djkurtz@chromium.org> Cc: Kyungmin Park <kyungmin.park@samsung.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <http://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <http://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <http://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c index e80455a..c6bd558 100644 --- a/tests/exynos/exynos_fimg2d_test.c +++ b/tests/exynos/exynos_fimg2d_test.c @@ -682,7 +682,7 @@ err_free_src: exynos_destroy_buffer(src); err_rm_fb: - drmModeRmFB(fb_id, bo->handle); + drmModeRmFB(dev->fd, fb_id); err_destroy_buffer: exynos_destroy_buffer(bo);
The first parameter should be the drm fd, second param is the fb id. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> --- tests/exynos/exynos_fimg2d_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)