Now
MAIN commitmail json YAML
src/sys/dev/pci/radeonfb.c@1.82
/
diff
/
nxr@1.82
src/sys/dev/pci/radeonfbvar.h@1.19 / diff / nxr@1.19
src/sys/dev/pci/radeonfbvar.h@1.19 / diff / nxr@1.19
implement WSDISPLAYIO_{GET|PUT}CMAP ioctl()s
while there:
- unmap registers and vram only in WSDISPLAYIO_MODE_MAPPED ( so DRM can map
them ) but not in WSDISPLAYIO_MODE_DUMBFB ( so wsfb can do things that
require hardware access, like palette and cursor ioctl()s )
- reject ioctl()s that need hardware access if registers are unmapped ( so we
don't crash instead )
- use the same bit order in cursor sprite images as the other drivers do
with all this, Xorg with wsfb works properly on top of radeonfb
tested on i386 and macppc ( fingers crossed for alpha ;) )
while there:
- unmap registers and vram only in WSDISPLAYIO_MODE_MAPPED ( so DRM can map
them ) but not in WSDISPLAYIO_MODE_DUMBFB ( so wsfb can do things that
require hardware access, like palette and cursor ioctl()s )
- reject ioctl()s that need hardware access if registers are unmapped ( so we
don't crash instead )
- use the same bit order in cursor sprite images as the other drivers do
with all this, Xorg with wsfb works properly on top of radeonfb
tested on i386 and macppc ( fingers crossed for alpha ;) )