Skip to contentSkip to conversation

xf86drm: Fix ioctl struct clearing in drmAgpEnable

PATCH In review Connor Behan 3 participants 5 messages Mar 24, 2015 – Apr 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xf86drm: Fix ioctl struct clearing in drmAgpEnable

This one is a bit harder to notice.

---
 xf86drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +1 -1
index e73cddd..ffc53b8 100644
@@ -1719,7 +1719,7 @@ int drmAgpEnable(int fd, unsigned long mode)
 {
     drm_agp_mode_t m;
 
-    memclear(mode);
+    memclear(m);
     m.mode = mode;
     if (drmIoctl(fd, DRM_IOCTL_AGP_ENABLE, &m))
 	return -errno;
Signature · 6 lines
2.3.3

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Connor Behan

This one is a bit harder to notice.

Plus not so widely used any more :-)

Mildly related - with EXA support for the r128 ddx done for a while now, do you have any plans on updating the dri module to dri2 ?

Quoted 1 line

Thanks !
Emil
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
Quoted 8 lines · Emil Velikov
Quoted 2 lines · Connor Behan

This one is a bit harder to notice.

Plus not so widely used any more :-)

Mildly related - with EXA support for the r128 ddx done for a while now, do you have any plans on updating the dri module to dri2 ?

Yes, that is still the eventual goal. I'm looking at how the radeon kernel module is setup these days. So I should be able to start porting r128 to KMS at some point this year.

Thanks for the interest!

Quoted 5 lines
Quoted 1 line

Thanks !
Emil

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
Quoted 4 lines · Connor Behan
Quoted 3 lines · Emil Velikov
Quoted 2 lines · Connor Behan

This one is a bit harder to notice.

Quoted 8 lines
Quoted 5 lines

Plus not so widely used any more :-)

Mildly related - with EXA support for the r128 ddx done for a while now, do you have any plans on updating the dri module to dri2 ?

Yes, that is still the eventual goal. I'm looking at how the radeon kernel module is setup these days. So I should be able to start porting r128 to KMS at some point this year.

I think it would be easiest to port r128 support to the radeon kernel module. You can re-use 90% of the r100 code.

Alex

Quoted 10 lines

Thanks for the interest!

Quoted 5 lines
Quoted 1 line

Thanks !
Emil

Quoted 5 lines

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel