From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Michel_D=c3=a4nzer?= Subject: Re: [PATCH] Fallback to std DRI2CopyRegion when DRI2UpdatePrime fails Date: Mon, 06 Oct 2014 11:04:51 +0900 Message-ID: <5431F8C3.2040000@daenzer.net> References: <1412492791-4121-1-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1412492791-4121-1-git-send-email-chris-Y6uKTt2uX1cEflXRtASbqLVCufUGDwFn@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: xorg-devel-bounces-go0+a7rfsptAfugRpC6u6w@public.gmane.org Sender: "xorg-devel" To: Chris Wilson , airlied-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org Cc: xorg-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: dri-devel@lists.freedesktop.org On 05.10.2014 16:06, Chris Wilson wrote: > I was looking at a bug report today of intel/ati prime and noticed a > number of sna_share_pixmap_backing() failures (called from > DRI2UpdatePrime). These were failing as the request was for the scanout > buffer (which is tiled and so we refuse to share it, and since it is > already on the scanout we refuse to change tiling). > > But looking at radeon_dri2_copy_region2(), if DRI2UpdatePrime() fails, > the copy is aborted and the update lost. If the copy is made to the > normal window drawable is that enough for it to be propagated back > through damage tracking? Have you asked the reporter of that bug to test your patch? -- = Earthling Michel D=E4nzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ xorg-devel-go0+a7rfsptAfugRpC6u6w@public.gmane.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel