Comment # 16
on bug 83708
from Michel Dänzer
(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.
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel