From patchwork Thu Apr 17 03:54:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Kurtz X-Patchwork-Id: 4005581 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 09EA9BFF02 for ; Thu, 17 Apr 2014 03:55:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 40AC72034F for ; Thu, 17 Apr 2014 03:55:24 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 759A42034E for ; Thu, 17 Apr 2014 03:55:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C18AB6EAEB; Wed, 16 Apr 2014 20:55:22 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by gabe.freedesktop.org (Postfix) with ESMTP id 337266EAEB for ; Wed, 16 Apr 2014 20:55:21 -0700 (PDT) Received: by mail-ve0-f179.google.com with SMTP id db12so11628591veb.38 for ; Wed, 16 Apr 2014 20:55:20 -0700 (PDT) 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=0adwkPBsWrFsaFC3jIPi7C10wNsTxpBjubpjhZ7A2Nc=; b=Uc2E+Jn2iMig+zQ+Jzk9zRsGOeveI9FEgQ7PZkHx1fTbKKkzjRZYshCk8H0d5Rtb16 uPSRdBOZtVsZWWuZcVZ6NeDs4MyCSjQpKhlR5e89Kidrl9Viq9jcQw8wvCJ9+Zzw+XUb iHszZ0jS8XP257/83YmLXViKWXC2hBa7QmTNY= 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=0adwkPBsWrFsaFC3jIPi7C10wNsTxpBjubpjhZ7A2Nc=; b=LX+b7GL69BZaZfHgqZwMwWgmH7i+uxQykN1XggHvXYMJtMqyRFQW1wXJowv1HnDPt4 12bxZX5v/9bIyDkS0/nNvOa1VE90m1TZkOuatlWj39jRZ2BoxRpKz7YV5VGMVfIw7ZZe M6CDgti3xYS3QxBlvq8ulshUEfr3jcWwoEe7vwDN82UdQrkkF1dNG1S9QgIHjA//PQ4a nyw2YzKYjP/XnHiEm2xqaTB3cn5tzZmU46AIY5taKuRoHgOWVNBilb6b4TDz/ELrvBua cdUoB3jpDZH54kDfvcUvgRMLp0M2GKIREKGmCtxo2ajWc4yp9/1Cv2ouGi/uav4rkWyv fAVg== X-Gm-Message-State: ALoCoQlTtYOPzDmv5nbPIwEq3kJNCIHBiwvvcl9axy2Tt26M/DMnFj/EesZKeZWu+Svsl7PSPOeE X-Received: by 10.220.161.8 with SMTP id p8mr6308870vcx.4.1397706920788; Wed, 16 Apr 2014 20:55:20 -0700 (PDT) Received: from djkurtzt530-glaptop.corp.google.com ([203.208.61.193]) by mx.google.com with ESMTPSA id zb18sm21234884vdb.18.2014.04.16.20.55.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Apr 2014 20:55:20 -0700 (PDT) From: Daniel Kurtz To: dri-devel@lists.freedesktop.org, Inki Dae Subject: [PATCH 5/7] exynos_fimg2d_test: fix drmModeRmFB Date: Thu, 17 Apr 2014 11:54:39 +0800 Message-Id: <1397706881-19735-7-git-send-email-djkurtz@chromium.org> X-Mailer: git-send-email 1.9.1.423.g4596e3a In-Reply-To: <1397706881-19735-1-git-send-email-djkurtz@chromium.org> References: <1397706881-19735-1-git-send-email-djkurtz@chromium.org> Cc: Kyungmin Park X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 The first parameter should be the drm fd, second param is the fb id. Signed-off-by: Daniel Kurtz Acked-by: Inki Dae --- tests/exynos/exynos_fimg2d_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);