From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 83708] [vdpau,uvd] kernel oops, Unable to handle kernel paging request at virtual address Date: Wed, 24 Sep 2014 09:28:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0673557900==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4BBBB6E147 for ; Wed, 24 Sep 2014 02:28:55 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0673557900== Content-Type: multipart/alternative; boundary="1411550935.61BcEE0.31675"; charset="us-ascii" --1411550935.61BcEE0.31675 Date: Wed, 24 Sep 2014 09:28:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D83708 --- Comment #14 from Michel D=C3=A4nzer --- (In reply to comment #13) > This patch can solve the address problem. writel() and readl() already convert to/from little endian. Does it work be= tter if you remove cpu_to_le32() from all lines using those functions? > @@ -751,22 +748,12 @@ > } >=20=20 > /* stitch together an UVD destroy msg */ > -#if 0 > - msg[0] =3D cpu_to_le32(0x00000de4); > - msg[1] =3D cpu_to_le32(0x00000002); > - msg[2] =3D cpu_to_le32(handle); > - msg[3] =3D cpu_to_le32(0x00000000); > - for (i =3D 4; i < 1024; ++i) > - msg[i] =3D cpu_to_le32(0x0); > -#endif > -#if 1 > writel(cpu_to_le32(0x00000de4),&msg[1]); > writel(cpu_to_le32(0x00000002),&msg[2]); > writel(cpu_to_le32(handle),&msg[3]); > writel(cpu_to_le32(0x00000000),&msg[4]); > for (i =3D 4; i < 1024; ++i) > writel(cpu_to_le32(0x0),&msg[i]); > -#endif > radeon_bo_kunmap(bo); > radeon_bo_unreserve(bo); Why are you enabling this code? --=20 You are receiving this mail because: You are the assignee for the bug. --1411550935.61BcEE0.31675 Date: Wed, 24 Sep 2014 09:28:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 14 on bug 83708<= /a> from Michel D=C3=A4nzer
(In reply to comment #=
13)
> This patch can solve the address problem.

writel() and readl() already convert to/from little endian. Does it work be=
tter
if you remove cpu_to_le32() from all lines using those functions?


> @@ -751,22 +748,12 @@
>  	}
>=20=20
>  	/* stitch together an UVD destroy msg */
> -#if 0
> -	msg[0] =3D cpu_to_le32(0x00000de4);
> -	msg[1] =3D cpu_to_le32(0x00000002);
> -	msg[2] =3D cpu_to_le32(handle);
> -	msg[3] =3D cpu_to_le32(0x00000000);
> -	for (i =3D 4; i < 1024; ++i)
> -		msg[i] =3D cpu_to_le32(0x0);
> -#endif
> -#if 1
>  	writel(cpu_to_le32(0x00000de4),&msg[1]);
>          writel(cpu_to_le32(0x00000002),&msg[2]);
>          writel(cpu_to_le32(handle),&msg[3]);
>          writel(cpu_to_le32(0x00000000),&msg[4]);
>          for (i =3D 4; i < 1024; ++i)
>                  writel(cpu_to_le32(0x0),&msg[i]);
> -#endif
>  	radeon_bo_kunmap(bo);
>  	radeon_bo_unreserve(bo);

Why are you enabling this code?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1411550935.61BcEE0.31675-- --===============0673557900== 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 --===============0673557900==--