lkml.org 
[lkml]   [2013]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[ 072/102] drm/radeon: Disable dma rings for bo moves on r6xx
    Date
    3.10-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Alex Deucher <alexander.deucher@amd.com>

    commit aeea40cbf9388fc829e66fa049f64d97fd72e118 upstream.

    They still seem to cause instability on some r6xx parts.
    As a follow up, we can switch to using CP DMA for bo
    moves on r6xx as a lighter weight alternative to using
    the 3D engine.

    A version of this patch should also go to stable kernels.

    Tested-by: J.N. <golden.fleeced@gmail.com>
    Reviewed-by: Christian König <christian.koenig@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/gpu/drm/radeon/radeon_asic.c | 8 ++++----
    1 file changed, 4 insertions(+), 4 deletions(-)

    --- a/drivers/gpu/drm/radeon/radeon_asic.c
    +++ b/drivers/gpu/drm/radeon/radeon_asic.c
    @@ -986,8 +986,8 @@ static struct radeon_asic r600_asic = {
    .blit_ring_index = RADEON_RING_TYPE_GFX_INDEX,
    .dma = &r600_copy_dma,
    .dma_ring_index = R600_RING_TYPE_DMA_INDEX,
    - .copy = &r600_copy_dma,
    - .copy_ring_index = R600_RING_TYPE_DMA_INDEX,
    + .copy = &r600_copy_blit,
    + .copy_ring_index = RADEON_RING_TYPE_GFX_INDEX,
    },
    .surface = {
    .set_reg = r600_set_surface_reg,
    @@ -1074,8 +1074,8 @@ static struct radeon_asic rs780_asic = {
    .blit_ring_index = RADEON_RING_TYPE_GFX_INDEX,
    .dma = &r600_copy_dma,
    .dma_ring_index = R600_RING_TYPE_DMA_INDEX,
    - .copy = &r600_copy_dma,
    - .copy_ring_index = R600_RING_TYPE_DMA_INDEX,
    + .copy = &r600_copy_blit,
    + .copy_ring_index = RADEON_RING_TYPE_GFX_INDEX,
    },
    .surface = {
    .set_reg = r600_set_surface_reg,

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2013-08-09 04:21    [W:2.513 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site