From: Paul Menzel Subject: Re: [PATCH 2/2] drm/radeon/benchmark: allow same domains for dma copy Date: Thu, 14 Mar 2013 14:07:54 +0100 Message-ID: <1363266474.21711.5.camel@mattotaupa> References: <1363192725-5902-1-git-send-email-alexdeucher@gmail.com> <1363192725-5902-2-git-send-email-alexdeucher@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0982150993==" Return-path: Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by gabe.freedesktop.org (Postfix) with ESMTP id 24DECE5CD9 for ; Thu, 14 Mar 2013 06:07:57 -0700 (PDT) In-Reply-To: <1363192725-5902-2-git-send-email-alexdeucher@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: alexdeucher@gmail.com Cc: Alex Deucher , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0982150993== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-kwY+PUgHzSM2NBm5zAy2" --=-kwY+PUgHzSM2NBm5zAy2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Alex, Am Mittwoch, den 13.03.2013, 12:38 -0400 schrieb alexdeucher@gmail.com: > From: Alex Deucher >=20 > Remove old comment and allow benchmarking moves within the > same memory domain for both dma and blit methods. > > Signed-off-by: Alex Deucher > --- > drivers/gpu/drm/radeon/radeon_benchmark.c | 5 +---- > 1 files changed, 1 insertions(+), 4 deletions(-) >=20 > diff --git a/drivers/gpu/drm/radeon/radeon_benchmark.c b/drivers/gpu/drm/= radeon/radeon_benchmark.c > index a2f0c24..6e05a2e 100644 > --- a/drivers/gpu/drm/radeon/radeon_benchmark.c > +++ b/drivers/gpu/drm/radeon/radeon_benchmark.c > @@ -122,10 +122,7 @@ static void radeon_benchmark_move(struct radeon_devi= ce *rdev, unsigned size, > goto out_cleanup; > } > =20 > - /* r100 doesn't have dma engine so skip the test */ > - /* also, VRAM-to-VRAM test doesn't make much sense for DMA */ > - /* skip it as well if domains are the same */ > - if ((rdev->asic->copy.dma) && (sdomain !=3D ddomain)) { > + if (rdev->asic->copy.dma) { why is the comment not valid anymore? What changed? > time =3D radeon_benchmark_do_move(rdev, size, saddr, daddr, > RADEON_BENCHMARK_COPY_DMA, n); > if (time < 0) Thanks, Paul --=-kwY+PUgHzSM2NBm5zAy2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlFBy6oACgkQPX1aK2wOHViF+wCfdBDAVILWUP5p9/ztdWiSDkKU cJUAnj5qGjsmZNyucyKda0chQUqjCVG5 =xr04 -----END PGP SIGNATURE----- --=-kwY+PUgHzSM2NBm5zAy2-- --===============0982150993== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0982150993==--