[Bug 83708] [vdpau,uvd] kernel oops, Unable to handle kernel paging request at virtual address

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 24 19:18:31 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83708

--- Comment #16 from Michel Dänzer <michel at daenzer.net> ---
(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.

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.


> 2. #if 0 ...#endif is the original code from kernel. #if 1 ...#endif is
> changed code.

Ah right, never mind, I misread that hunk before.


> By the way, u said writel() and readl() already convert to/from little
> endian. is based on the X86 arch implement?

It's the same on all architectures: writel() takes a datum in host byte order
and writes it in little endian. readl() reads a little endian datum and returns
it in host byte order. (This means that on little endian hosts such as x86, the
datum is transferred unchanged)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140925/bedd4592/attachment.html>


More information about the dri-devel mailing list