diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2017-04-20 15:18:15 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2017-04-20 15:18:15 +0000 |
| commit | be4bf62684f356f83f98402dbf01e4c2451fe644 (patch) | |
| tree | 8c05a49cfae878f5d3042561fd41e5c5c7ff1f4d /sys/dev/fb/vesa.c | |
| parent | 5d840968f84c3ff9d546e7316e25f16b4ea3fbfe (diff) | |
Notes
Diffstat (limited to 'sys/dev/fb/vesa.c')
| -rw-r--r-- | sys/dev/fb/vesa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/fb/vesa.c b/sys/dev/fb/vesa.c index d51e560c7f84..c752efc6903c 100644 --- a/sys/dev/fb/vesa.c +++ b/sys/dev/fb/vesa.c @@ -1643,6 +1643,9 @@ vesa_mmap(video_adapter_t *adp, vm_ooffset_t offset, vm_paddr_t *paddr, if (offset > adp->va_window_size - PAGE_SIZE) return (-1); *paddr = adp->va_info.vi_buffer + offset; +#ifdef VM_MEMATTR_WRITE_COMBINING + *memattr = VM_MEMATTR_WRITE_COMBINING; +#endif return (0); } return ((*prevvidsw->mmap)(adp, offset, paddr, prot, memattr)); |
