[PATCH] Add DRM_CAS for mips32

2015-05-14 Thread Aleksey Kuleshov
I don't really know much about the current status of using DRM_CAS macro, but the reality is that there is a company Vivante which provides OpenGL driver for their 3D core which uses DRM_CAS for locking. There is a chip with mips processor and Vivante core (I'm part of that chip) => no support fo

[PATCH] Add DRM_CAS for mips32

2015-05-14 Thread Aleksey Kuleshov
Signed-off-by: Aleksey Kuleshov --- xf86drm.h | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/xf86drm.h b/xf86drm.h index 40c55c9..2ba75d9 100644 --- a/xf86drm.h +++ b/xf86drm.h @@ -462,6 +462,27 @@ do { register unsigned int __old __asm("o0");

[PATCH] Add DRM_CAS for mips32

2015-05-14 Thread Matt Turner
On Thu, May 14, 2015 at 5:12 AM, Aleksey Kuleshov wrote: > Signed-off-by: Aleksey Kuleshov > --- At least a few years ago, DRM_CAS was only used by DRI1 which is pretty dead at this point. Has something changed? What problem are you trying to solve?