tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vmwgfx drm driver patches



On Wed, Jul 31, 2019 at 10:56:33AM +0200, Martin Husemann wrote:
> Could you split this into three parts:
> 
>  - raspops changes (and please explain why they are needed, it is totally
>    non obvious from the change and there may be a much simpler solution)
>  - drm2 changes (is this anything besides porting code that has not been
>    compiled on NetBSD so far? There must be better ways to avoid lots
>    of the ifdefs - but maybe there are not)


+#ifdef __NetBSD__
+		cmd2->body.format = htole32(srf->format);
+#else
 		cmd2->body.format = cpu_to_le32(srf->format);
+#endif

We provide cpu_to_le32 in drm2/include/asm/byteorder.h, which should cut down a tiny bit


Home | Main Index | Thread Index | Old Index