Source-Changes archive

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

CVS commit: src/sys/dev/drm



Module Name:    src
Committed By:   mrg
Date:           Sun Mar 29 19:50:17 UTC 2009

Modified Files:
        src/sys/dev/drm: drm_bufs.c drm_vm.c

Log Message:
drm_addmap():
- for _DRM_CONSISTENT mappings, keep the handle.
- use DRM_HANDLE_NEEDS_MASK()

drm_mapbufs():
- use DRM_HANDLE_NEEDS_MASK()

drm_mmap():
- use DRM_HANDLE_NEEDS_MASK()
- for _DRM_SCATTER_GATHER and _DRM_SHM, use vtophys() on the
  adjusted offset. XXX

this is gets radeon working on amd64 with an older PCI 9250 card.

XXX: need to excise vtophys() usage.
XXX: need to finish porting these fixes to external.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/drm/drm_bufs.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/drm/drm_vm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index