Re: [PATCH V10 19/46] drm/tests: Add a few tests around drm_fixed.h

2025-06-17 Thread Wentland, Harry
On 2025-06-17 07:04, Maíra Canal wrote: > Hi Alex, > > On 17/06/25 01:17, Alex Hung wrote: >> From: Harry Wentland >> >> While working on the CTM implementation of VKMS I had to ascertain >> myself of a few assumptions. One of those is whether drm_fixed.h >> treats its numbers using signed-magnit

Re: [PATCH V10 19/46] drm/tests: Add a few tests around drm_fixed.h

2025-06-17 Thread Maíra Canal
Hi Alex, On 17/06/25 01:17, Alex Hung wrote: From: Harry Wentland While working on the CTM implementation of VKMS I had to ascertain myself of a few assumptions. One of those is whether drm_fixed.h treats its numbers using signed-magnitude or twos-complement. It is twos-complement. In order t

[PATCH V10 19/46] drm/tests: Add a few tests around drm_fixed.h

2025-06-16 Thread Alex Hung
From: Harry Wentland While working on the CTM implementation of VKMS I had to ascertain myself of a few assumptions. One of those is whether drm_fixed.h treats its numbers using signed-magnitude or twos-complement. It is twos-complement. In order to make someone else's day easier I am adding the