From: bugzilla-daemon@freedesktop.org Subject: [Bug 96625] GPU lockup when using r600g VDPAU on powerpc Date: Thu, 23 Jun 2016 15:21:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0457308920==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0FD546E975 for ; Thu, 23 Jun 2016 15:21:25 +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 --===============0457308920== Content-Type: multipart/alternative; boundary="14666952850.daCAfcE4.12495"; charset="UTF-8" --14666952850.daCAfcE4.12495 Date: Thu, 23 Jun 2016 15:21:25 +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 #10 from Alex Deucher --- (In reply to Rui Salvaterra from comment #9) > (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. >=20 > Hi, Christian, >=20 > 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 > such patches were accepted? Yes, endian swap helpers exist in mesa. --=20 You are receiving this mail because: You are the assignee for the bug.= --14666952850.daCAfcE4.12495 Date: Thu, 23 Jun 2016 15:21:25 +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

Commen= t # 10 on bug 96625<= /a> from Alex Deucher
(In reply to Rui Salvaterra from comment #9)
> (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 fe=
edback
> > buffer in get_h264_msg(), get_h265_msg(), get_vc1_msg(), get_mpeg=
2_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 b=
unch of
> > work nobody so far has time to work on.
>=20
> Hi, Christian,
>=20
> 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, assum=
ing
> such patches were accepted?

Yes, endian swap helpers exist in mesa.


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