From: bugzilla-daemon@freedesktop.org Subject: [Bug 83708] [vdpau,uvd] kernel oops, Unable to handle kernel paging request at virtual address Date: Thu, 25 Sep 2014 07:26:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0839493841==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 534AF6E038 for ; Thu, 25 Sep 2014 00:26:35 -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 --===============0839493841== Content-Type: multipart/alternative; boundary="1411629995.fF080220.7105"; charset="us-ascii" --1411629995.fF080220.7105 Date: Thu, 25 Sep 2014 07:26:35 +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 #17 from Christian K=C3=B6nig --- (In reply to comment #16) > (In reply to comment #15) > > 1. I do not add cpu_to_le32() first ,but when I trace the messages from > > printk,the value of msg_type is reversed. >=20 > That's in radeon_uvd_cs_msg()? Sounds like the Mesa UVD code writes the > messages in host byte order, not in little endian. Maybe Christian can > clarify which byte order should be used for them. The hardware supports byte swapping for the message and feedback buffer, bu= t I think always writing/reading it in little endian will be simpler to get working. The userspace code currently doesn't supports big endian hosts and so will probably write it in the wrong byte order. --=20 You are receiving this mail because: You are the assignee for the bug. --1411629995.fF080220.7105 Date: Thu, 25 Sep 2014 07:26:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 17 on bug 83708<= /a> from Christian K=C3=B6nig
(In reply to comment #=
16)
> (In reply to comment #15)
> > 1. I do not add cpu_to_le32() first ,but when I trace the message=
s from
> > printk,the value of msg_type is reversed.
>=20
> That's in radeon_uvd_cs_msg()? Sounds like the Mesa UVD code writes the
> messages in host byte order, not in little endian. Maybe Christian can
> clarify which byte order should be used for them.

The hardware supports byte swapping for the message and feedback buffer, bu=
t I
think always writing/reading it in little endian will be simpler to get
working.

The userspace code currently doesn't supports big endian hosts and so will
probably write it in the wrong byte order.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1411629995.fF080220.7105-- --===============0839493841== 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 --===============0839493841==--