From patchwork Tue Nov 16 19:37:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 328992 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAGJbJKG026905 for ; Tue, 16 Nov 2010 19:37:42 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 04C34A0C02 for ; Tue, 16 Nov 2010 11:37:19 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pv0-f177.google.com (mail-pv0-f177.google.com [74.125.83.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 8B2169EF20 for ; Tue, 16 Nov 2010 11:37:08 -0800 (PST) Received: by pvg7 with SMTP id 7so362611pvg.36 for ; Tue, 16 Nov 2010 11:37:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=SqQ8nP3uQGz17f7H1T6+zqmowJyQJpW8tmCiKe7x0No=; b=RIY6dzYCpjsWD9zoGecm+22DlXWWOu/5RTAZvf1Pb+GNRCReSp9rgYdzLCEKzXa9kd JucxRExN1IVEBOFH5Qfcg7mLqmvX0e5lBI7rmSAyE1zJdKo7R1bZQwmkoPbdBMNtEA1Z OskG+i5UepD09GNdWX61jKI2pTJdHTrl22gqE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=MbANQ50/BjQ+tpnGbGtLZcCg64wP40BkU5ioLC8BOWWsNG+o0ou6b6Xd6Q1SLqtxYq nIOD5tk/FHZV+gRDtMQum5XYTl2nqcQG2lkTwjuiGqaNKUQ1PSrUOa+hJdE97mzuu914 PGtv5l4y3amvzH5UTE4hvtu0k7pm8TFCcrrRQ= MIME-Version: 1.0 Received: by 10.229.242.66 with SMTP id lh2mr6333895qcb.118.1289936227392; Tue, 16 Nov 2010 11:37:07 -0800 (PST) Received: by 10.229.217.84 with HTTP; Tue, 16 Nov 2010 11:37:07 -0800 (PST) In-Reply-To: <20101116173002.GA3467@viiv.ffwll.ch> References: <20101116173002.GA3467@viiv.ffwll.ch> Date: Tue, 16 Nov 2010 20:37:07 +0100 Message-ID: Subject: Re: [PATCH 0/3] embed drm_gem_object into radeon_bo From: Sedat Dilek To: Daniel Vetter Cc: daniel.vetter@ffwll.ch, Arnd Bergmann , DRI X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: sedat.dilek@gmail.com List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 16 Nov 2010 19:37:42 +0000 (UTC) diff -Naur 0002-drm-radeon-kms-add-pageflip-ioctl-support.patch 0002-drm-radeon-kms-add-pageflip-ioctl-support-for-danvet-v2.patch --- 0002-drm-radeon-kms-add-pageflip-ioctl-support.patch 2010-10-31 18:53:38.000000000 +0100 +++ 0002-drm-radeon-kms-add-pageflip-ioctl-support-for-danvet-v2.patch 2010-11-16 20:07:12.380393000 +0100 @@ -1319,7 +1319,7 @@ + new_radeon_fb = to_radeon_framebuffer(fb); + /* schedule unpin of the old buffer */ + obj = old_radeon_fb->obj; -+ rbo = obj->driver_private; ++ rbo = gem_to_radeon_bo(obj); + work->old_rbo = rbo; + INIT_WORK(&work->work, radeon_unpin_work_func); + @@ -1338,7 +1338,7 @@ + + /* pin the new buffer */ + obj = new_radeon_fb->obj; -+ rbo = obj->driver_private; ++ rbo = gem_to_radeon_bo(obj); + r = radeon_bo_reserve(rbo, false); + if (unlikely(r != 0)) + goto pflip_cleanup;