Thread (34 messages) 34 messages, 7 authors, 2012-06-18

Re: [PATCH 10/14] drm/radeon: Make radeon card usable for Loongson.

From: LIU Qi <hidden>
Date: 2012-06-15 14:28:44

On Fri, Jun 15, 2012 at 04:09:57PM +0800, Huacai Chen wrote:
 > 1, Use 32bit DMA as a workaround.
 > 2, Read vga bios offered by system firmware.
 > 3, Handle io prot correctly for MIPS.
 > 4, Don't use swiotlb on Loongson machines.
 > 
 > Signed-off-by: Huacai Chen [off-list ref]
 > Signed-off-by: Hongliang Tao [off-list ref]
 > Signed-off-by: Hua Yan [off-list ref]
 > ---
 >  drivers/gpu/drm/drm_vm.c               |    2 +-
 >  drivers/gpu/drm/radeon/radeon_bios.c   |   32 ++++++++++++++++++++++++++++++++
 >  drivers/gpu/drm/radeon/radeon_device.c |    5 +++++
 >  drivers/gpu/drm/radeon/radeon_ttm.c    |    6 +++---
 >  drivers/gpu/drm/ttm/ttm_bo_util.c      |    2 +-
 >  include/drm/drm_sarea.h                |    2 ++
 >  6 files changed, 44 insertions(+), 5 deletions(-)

Fix the following compiling warnings, please:

  CC      drivers/gpu/drm/drm_vm.o
drivers/gpu/drm/drm_vm.c: In function ‘drm_do_vm_dma_fault’:
drivers/gpu/drm/drm_vm.c:309: warning: passing argument 1 of ‘virt_to_phys’ makes pointer from integer without a cast
/home/liuqi/workspace/linux.git/arch/mips/include/asm/io.h:117: note: expected ‘const volatile void *’ but argument is of type ‘long unsigned
int’

  CC      drivers/gpu/drm/radeon/radeon_ttm.o
In file included from drivers/gpu/drm/radeon/radeon_ttm.c:36:
include/drm/ttm/ttm_page_alloc.h:81: warning: ‘struct device’ declared inside parameter list
include/drm/ttm/ttm_page_alloc.h:81: warning: its scope is only this definition or declaration, which is probably not what you want
include/drm/ttm/ttm_page_alloc.h:82: warning: ‘struct device’ declared inside parameter list

LIU Qi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help