diff options
| author | Dave Airlie <airlied@redhat.com> | 2013-02-07 21:13:43 -0500 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2013-02-07 21:13:43 -0500 |
| commit | 62cd2fa82a38cb3d653517822c62a39cdbb5f365 (patch) | |
| tree | b5d2f198c14455822c8b03abde2c8d8080cda24a | |
| parent | 6dc1c49da6dd3bf020a66b2a135b9625ac01c2c7 (diff) | |
| parent | ae1287865f5361fa138d4d3b1b6277908b54eac9 (diff) | |
Merge branch 'console-fixes' into drm-next
(not the fbcon maintainer pull 2)
fix bug in vgacon on bootup and fbcon losing fonts on startup.
* console-fixes: (50 commits)
fbcon: don't lose the console font across generic->chip driver switch
vgacon/vt: clear buffer attributes when we load a 512 character font (v2)
55 files changed, 503 insertions, 423 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 212c255b9347..35a56bcd5e75 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -1489,7 +1489,7 @@ AVR32 ARCHITECTURE | |||
| 1489 | M: Haavard Skinnemoen <hskinnemoen@gmail.com> | 1489 | M: Haavard Skinnemoen <hskinnemoen@gmail.com> |
| 1490 | M: Hans-Christian Egtvedt <egtvedt@samfundet.no> | 1490 | M: Hans-Christian Egtvedt <egtvedt@samfundet.no> |
| 1491 | W: http://www.atmel.com/products/AVR32/ | 1491 | W: http://www.atmel.com/products/AVR32/ |
| 1492 | W: http://avr32linux.org/ | 1492 | W: http://mirror.egtvedt.no/avr32linux.org/ |
| 1493 | W: http://avrfreaks.net/ | 1493 | W: http://avrfreaks.net/ |
| 1494 | S: Maintained | 1494 | S: Maintained |
| 1495 | F: arch/avr32/ | 1495 | F: arch/avr32/ |
diff --git a/arch/avr32/include/asm/dma-mapping.h b/arch/avr32/include/asm/dma-mapping.h index aaf5199d8fcb..b3d18f9f3e8d 100644 --- a/arch/avr32/include/asm/dma-mapping.h +++ b/arch/avr32/include/asm/dma-mapping.h | |||
| @@ -336,4 +336,14 @@ dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, | |||
| 336 | #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) | 336 | #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) |
| 337 | #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) | 337 | #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) |
| 338 | 338 | ||
| 339 | /* drivers/base/dma-mapping.c */ | ||
| 340 | extern int dma_common_mmap(struct device *dev, struct vm_area_struct *vma, | ||
| 341 | void *cpu_addr, dma_addr_t dma_addr, size_t size); | ||
| 342 | extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt, | ||
| 343 | void *cpu_addr, dma_addr_t dma_addr, | ||
| 344 | size_t size); | ||
| 345 | |||
| 346 | #define dma_mmap_coherent(d, v, c, h, s) dma_common_mmap(d, v, c, h, s) | ||
| 347 | #define dma_get_sgtable(d, t, v, h, s) dma_common_get_sgtable(d, t, v, h, s) | ||
| 348 | |||
| 339 | #endif /* __ASM_AVR32_DMA_MAPPING_H */ | 349 | #endif /* __ASM_AVR32_DMA_MAPPING_H */ |
diff --git a/arch/blackfin/include/asm/dma-mapping.h b/arch/blackfin/include/asm/dma-mapping.h index bbf461076a0a..054d9ec57d9d 100644 --- a/arch/blackfin/include/asm/dma-mapping.h +++ b/arch/blackfin/include/asm/dma-mapping.h | |||
| @@ -154,4 +154,14 @@ dma_cache_sync(struct device *dev, void *vaddr, size_t size, | |||
| 154 | _dma_sync((dma_addr_t)vaddr, size, dir); | 154 | _dma_sync((dma_addr_t)vaddr, size, dir); |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | /* drivers/base/dma-mapping.c */ | ||
| 158 | extern int dma_common_mmap(struct device *dev, struct vm_area_struct *vma, | ||
| 159 | void *cpu_addr, dma_addr_t dma_addr, size_t size); | ||
| 160 | extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt, | ||
| 161 | void *cpu_addr, dma_addr_t dma_addr, | ||
| 162 | size_t size); | ||
| 163 | |||
| 164 | #define dma_mmap_coherent(d, v, c, h, s) dma_common_mmap(d, v, c, h, s) | ||
| 165 | #define dma_get_sgtable(d, t, v, h, s) dma_common_get_sgtable(d, t, v, h, s) | ||
| 166 | |||
| 157 | #endif /* _BLACKFIN_DMA_MAPPING_H */ | 167 | #endif /* _BLACKFIN_DMA_MAPPING_H */ |
diff --git a/arch/c6x/include/asm/dma-mapping.h b/arch/c6x/include/asm/dma-mapping.h index 3c694065030f..88bd0d899bdb 100644 --- a/arch/c6x/include/asm/dma-mapping.h +++ b/arch/c6x/include/asm/dma-mapping.h | |||
| @@ -89,4 +89,19 @@ extern void dma_free_coherent(struct device *, size_t, void *, dma_addr_t); | |||
| 89 | #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent((d), (s), (h), (f)) | 89 | #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent((d), (s), (h), (f)) |
| 90 | #define dma_free_noncoherent(d, s, v, h) dma_free_coherent((d), (s), (v), (h)) | 90 | #define dma_free_noncoherent(d, s, v, h) dma_free_coherent((d), (s), (v), (h)) |
| 91 | 91 | ||
| 92 | /* Not supported for now */ | ||
| 93 | static inline int dma_mmap_coherent(struct device *dev, | ||
| 94 | struct vm_area_struct *vma, void *cpu_addr, | ||
| 95 | dma_addr_t dma_addr, size_t size) | ||
| 96 | { | ||
| 97 | return -EINVAL; | ||
| 98 | } | ||
| 99 | |||
| 100 | static inline int dma_get_sgtable(struct device *dev, struct sg_table *sgt, | ||
| 101 | void *cpu_addr, dma_addr_t dma_addr, | ||
| 102 | size_t size) | ||
| 103 | { | ||
| 104 | return -EINVAL; | ||
| 105 | } | ||
| 106 | |||
| 92 | #endif /* _ASM_C6X_DMA_MAPPING_H */ | 107 | #endif /* _ASM_C6X_DMA_MAPPING_H */ |
diff --git a/arch/cris/include/asm/dma-mapping.h b/arch/cris/include/asm/dma-mapping.h index 8588b2ccf854..2f0f654f1b44 100644 --- a/arch/cris/include/asm/dma-mapping.h +++ b/arch/cris/include/asm/dma-mapping.h | |||
| @@ -158,5 +158,15 @@ dma_cache_sync(struct device *dev, void *vaddr, size_t size, | |||
| 158 | { | 158 | { |
| 159 | } | 159 | } |
| 160 | 160 | ||
| 161 | /* drivers/base/dma-mapping.c */ | ||
| 162 | extern int dma_common_mmap(struct device *dev, struct vm_area_struct *vma, | ||
| 163 | void *cpu_addr, dma_addr_t dma_addr, size_t size); | ||
| 164 | extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt, | ||
| 165 | void *cpu_addr, dma_addr_t dma_addr, | ||
| 166 | size_t size); | ||
| 167 | |||
| 168 | #define dma_mmap_coherent(d, v, c, h, s) dma_common_mmap(d, v, c, h, s) | ||
| 169 | #define dma_get_sgtable(d, t, v, h, s) dma_common_get_sgtable(d, t, v, h, s) | ||
| 170 | |||
| 161 | 171 | ||
| 162 | #endif | 172 | #endif |
diff --git a/arch/frv/include/asm/dma-mapping.h b/arch/frv/include/asm/dma-mapping.h index dfb811002c64..1746a2b8e6e7 100644 --- a/arch/frv/include/asm/dma-mapping.h +++ b/arch/frv/include/asm/dma-mapping.h | |||
| @@ -132,4 +132,19 @@ void dma_cache_sync(struct device *dev, void *vaddr, size_t size, | |||
| 132 | flush_write_buffers(); | 132 | flush_write_buffers(); |
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | /* Not supported for now */ | ||
| 136 | static inline int dma_mmap_coh | ||
