| 317 | |
| 318 | # DRM & LibDRM |
| 319 | rock@gpfs-server:~/intel_Q965/drm$ ./autogen.sh --prefix=/usr --exec-prefix=/ [[BR]] |
| 320 | rock@gpfs-server:~/intel_Q965/drm$ make [[BR]] |
| 321 | rock@gpfs-server:~/intel_Q965/drm$ sudo make install [[BR]] |
| 322 | rock@gpfs-server:/usr/include/drm$ sudo vim /home/rock/intel_Q965/drm/linux-core/drm_compat.c [[BR]] |
| 323 | |
| 324 | {{{ |
| 325 | /* |
| 326 | err = drm_bo_wait(bo, 0, 1, 0); |
| 327 | if (err) { |
| 328 | data->type = (err == -EAGAIN) ? |
| 329 | VM_FAULT_MINOR : VM_FAULT_SIGBUS; |
| 330 | goto out_unlock; |
| 331 | } |
| 332 | */ |
| 333 | }}} |
| 334 | |
| 335 | rock@gpfs-server:~/intel_Q965/drm$ make -C linux-core [[BR]] |
| 336 | rock@gpfs-server:~/intel_Q965/drm$ sudo cp linux-core/*.ko /lib/modules/2.6.20.gpfs/kernel/drivers/char/drm/ [[BR]] |
| 337 | rock@gpfs-server:/lib/modules/2.6.20.gpfs/kernel/drivers/char/drm$ ls |
| 338 | {{{ |
| 339 | drm.ko i830.ko mach64.ko nouveau.ko r128.ko savage.ko tdfx.ko xgi.ko |
| 340 | i810.ko i915.ko mga.ko nv.ko radeon.ko sis.ko via.ko |
| 341 | }}} |