[PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-09 Thread Jay Estabrook
Alpha needs to have the system bus address for the device's local memory available, so that it can be returned to user-level, where it may be used in an mmap(). So, we make bus.addr hold the ioremap() return for kernel use, and then we can modify bus.base appropriately. Signed-off-by: Jay Estabro

[PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-09 Thread Jay Estabrook
Alpha needs to have the system bus address for the device's local memory available, so that it can be returned to user-level, where it may be used in an mmap(). So, we make bus.addr hold the ioremap() return for kernel use, and then we can modify bus.base appropriately. Signed-off-by: Jay Estabro

[PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-09 Thread Jay Estabrook
Alpha needs to have the system bus address for the device's local memory available, so that it can be returned to user-level, where it may be used in an mmap(). So, we make bus.addr hold the ioremap() return for kernel use, and then we can modify bus.base appropriately. Signed-off-by: Jay Estabro

[PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-09 Thread Jay Estabrook
Alpha needs to have the system bus address for the device's local memory available, so that it can be returned to user-level, where it may be used in an mmap(). So, we make bus.addr hold the ioremap() return for kernel use, and then we can modify bus.base appropriately. Signed-off-by: Jay Estabro

[PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-09 Thread Jay Estabrook
Alpha needs to have the system bus address for the device's local memory available, so that it can be returned to user-level, where it may be used in an mmap(). So, we make bus.addr hold the ioremap() return for kernel use, and then we can modify bus.base appropriately. Signed-off-by: Jay Estabro

[PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-09 Thread Jay Estabrook
Alpha needs to have the system bus address for the device's local memory available, so that it can be returned to user-level, where it may be used in an mmap(). So, we make bus.addr hold the ioremap() return for kernel use, and then we can modify bus.base appropriately. Signed-off-by: Jay Estabro

[PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-09 Thread Jay Estabrook
Alpha needs to have the system bus address for the device's local memory available, so that it can be returned to user-level, where it may be used in an mmap(). So, we make bus.addr hold the ioremap() return for kernel use, and then we can modify bus.base appropriately. Signed-off-by: Jay Estabro

[PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-14 Thread Dave Airlie
On Fri, Jun 10, 2011 at 8:20 AM, Jay Estabrook wrote: > > Alpha needs to have the system bus address for the device's local > memory available, so that it can be returned to user-level, where > it may be used in an mmap(). So, we make bus.addr hold the ioremap() > return for kernel use, and then

[PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-14 Thread Jay Estabrook
Hi, Dave, It is the explanation that is inaccurate; I was still thinking about mmap when the new paradigm is to do the mapping when the VM faults. I believe the code that requires this patch is: ttm/ttm_bo_vm.c: ttm_bo_vm_fault(), specifically: for (i = 0; i < TTM_BO_VM_NUM_PREFAULT; ++i) {

Re: [PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-13 Thread Dave Airlie
On Fri, Jun 10, 2011 at 8:20 AM, Jay Estabrook wrote: > > Alpha needs to have the system bus address for the device's local > memory available, so that it can be returned to user-level, where > it may be used in an mmap(). So, we make bus.addr hold the ioremap() > return for kernel use, and then w

Re: [PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-14 Thread Jay Estabrook
Hi, Dave, It is the explanation that is inaccurate; I was still thinking about mmap when the new paradigm is to do the mapping when the VM faults. I believe the code that requires this patch is: ttm/ttm_bo_vm.c: ttm_bo_vm_fault(), specifically: for (i = 0; i < TTM_BO_VM_NUM_PREFAULT; ++i) {

Re: [PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-13 Thread Dave Airlie
On Fri, Jun 10, 2011 at 8:20 AM, Jay Estabrook wrote: > > Alpha needs to have the system bus address for the device's local > memory available, so that it can be returned to user-level, where > it may be used in an mmap(). So, we make bus.addr hold the ioremap() > return for kernel use, and then w

Re: [PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-14 Thread Jay Estabrook
Hi, Dave, It is the explanation that is inaccurate; I was still thinking about mmap when the new paradigm is to do the mapping when the VM faults. I believe the code that requires this patch is: ttm/ttm_bo_vm.c: ttm_bo_vm_fault(), specifically: for (i = 0; i < TTM_BO_VM_NUM_PREFAULT; ++i) {

Re: [PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-13 Thread Dave Airlie
On Fri, Jun 10, 2011 at 8:20 AM, Jay Estabrook wrote: > > Alpha needs to have the system bus address for the device's local > memory available, so that it can be returned to user-level, where > it may be used in an mmap(). So, we make bus.addr hold the ioremap() > return for kernel use, and then w

Re: [PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-14 Thread Jay Estabrook
Hi, Dave, It is the explanation that is inaccurate; I was still thinking about mmap when the new paradigm is to do the mapping when the VM faults. I believe the code that requires this patch is: ttm/ttm_bo_vm.c: ttm_bo_vm_fault(), specifically: for (i = 0; i < TTM_BO_VM_NUM_PREFAULT; ++i) {

Re: [PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-13 Thread Dave Airlie
On Fri, Jun 10, 2011 at 8:20 AM, Jay Estabrook wrote: > > Alpha needs to have the system bus address for the device's local > memory available, so that it can be returned to user-level, where > it may be used in an mmap(). So, we make bus.addr hold the ioremap() > return for kernel use, and then w

Re: [PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-14 Thread Jay Estabrook
Hi, Dave, It is the explanation that is inaccurate; I was still thinking about mmap when the new paradigm is to do the mapping when the VM faults. I believe the code that requires this patch is: ttm/ttm_bo_vm.c: ttm_bo_vm_fault(), specifically: for (i = 0; i < TTM_BO_VM_NUM_PREFAULT; ++i) {

Re: [PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-13 Thread Dave Airlie
On Fri, Jun 10, 2011 at 8:20 AM, Jay Estabrook wrote: > > Alpha needs to have the system bus address for the device's local > memory available, so that it can be returned to user-level, where > it may be used in an mmap(). So, we make bus.addr hold the ioremap() > return for kernel use, and then w

Re: [PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-14 Thread Jay Estabrook
Hi, Dave, It is the explanation that is inaccurate; I was still thinking about mmap when the new paradigm is to do the mapping when the VM faults. I believe the code that requires this patch is: ttm/ttm_bo_vm.c: ttm_bo_vm_fault(), specifically: for (i = 0; i < TTM_BO_VM_NUM_PREFAULT; ++i) {

Re: [PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-14 Thread Jay Estabrook
Hi, Dave, It is the explanation that is inaccurate; I was still thinking about mmap when the new paradigm is to do the mapping when the VM faults. I believe the code that requires this patch is: ttm/ttm_bo_vm.c: ttm_bo_vm_fault(), specifically: for (i = 0; i < TTM_BO_VM_NUM_PREFAULT; ++i) {

Re: [PATCH 3/3] alpha, drm: Add Alpha support to Radeon DRM code

2011-06-13 Thread Dave Airlie
On Fri, Jun 10, 2011 at 8:20 AM, Jay Estabrook wrote: > > Alpha needs to have the system bus address for the device's local > memory available, so that it can be returned to user-level, where > it may be used in an mmap(). So, we make bus.addr hold the ioremap() > return for kernel use, and then w