From: bugzilla-daemon@freedesktop.org Subject: [Bug 96625] GPU lockup when using r600g VDPAU on powerpc Date: Thu, 23 Jun 2016 14:37:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0342233143==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id D28A76E966 for ; Thu, 23 Jun 2016 14:37:44 +0000 (UTC) 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 --===============0342233143== Content-Type: multipart/alternative; boundary="14666926640.16d3.30920"; charset="UTF-8" --14666926640.16d3.30920 Date: Thu, 23 Jun 2016 14:37:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D96625 --- Comment #9 from Rui Salvaterra --- (In reply to Christian K=C3=B6nig from comment #3) > Well feel free to provide patches. The relevant source is in > src/gallium/drivers/radeon/radeon_uvd.c. >=20 > Probably all the 32 and 16 bit fields set into the message and feedback > buffer in get_h264_msg(), get_h265_msg(), get_vc1_msg(), get_mpeg2_msg(), > get_mpeg4_msg() and ruvd_end_frame() needs to be byte swapped. >=20 > It should actually be pretty trivial to do so, it's just a huge bunch of > work nobody so far has time to work on. Hi, Christian, I'm not at all familiar with the Mesa codebase, but doesn't it provide arch-specific endian helpers, akin to the Linux kernel ({b,l}e_to_cpu and friends)? If not, maybe it would be an interesting GSoC project, assuming s= uch patches were accepted? Best regards, Rui --=20 You are receiving this mail because: You are the assignee for the bug.= --14666926640.16d3.30920 Date: Thu, 23 Jun 2016 14:37:44 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 9 on bug 96625<= /a> from Rui Salvaterra
(In reply to Christian K=C3=B6nig from comment #3)
> Well feel free to provide patches. The relevant =
source is in
> src/gallium/drivers/radeon/radeon_uvd.c.
>=20
> Probably all the 32 and 16 bit fields set into the message and feedback
> buffer in get_h264_msg(), get_h265_msg(), get_vc1_msg(), get_mpeg2_msg=
(),
> get_mpeg4_msg() and ruvd_end_frame() needs to be byte swapped.
>=20
> It should actually be pretty trivial to do so, it's just a huge bunch =
of
> work nobody so far has time to work on.

Hi, Christian,

I'm not at all familiar with the Mesa codebase, but doesn't it provide
arch-specific endian helpers, akin to the Linux kernel ({b,l}e_to_cpu and
friends)? If not, maybe it would be an interesting GSoC project, assuming s=
uch
patches were accepted?

Best regards,

Rui


You are receiving this mail because:
  • You are the assignee for the bug.
= --14666926640.16d3.30920-- --===============0342233143== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0342233143==--