[PATCH 1/5] drm/radeon: fix radeon_move_blit on 32bit systems

Alex Deucher alexdeucher at gmail.com
Wed Aug 17 14:39:13 UTC 2016


On Wed, Aug 17, 2016 at 8:26 AM, Christian König
<deathsimple at vodafone.de> wrote:
> From: Christian König <christian.koenig at amd.com>
>
> This bug seems to be present for a very long time.
>
> Signed-off-by: Christian König <christian.koenig at amd.com>

Patches 1,2,4 are:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

patches 3, 5 are:
Acked-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/radeon/radeon_ttm.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c
> index 0c00e19..c2e0a1c 100644
> --- a/drivers/gpu/drm/radeon/radeon_ttm.c
> +++ b/drivers/gpu/drm/radeon/radeon_ttm.c
> @@ -263,8 +263,8 @@ static int radeon_move_blit(struct ttm_buffer_object *bo,
>
>         rdev = radeon_get_rdev(bo->bdev);
>         ridx = radeon_copy_ring_index(rdev);
> -       old_start = old_mem->start << PAGE_SHIFT;
> -       new_start = new_mem->start << PAGE_SHIFT;
> +       old_start = (u64)old_mem->start << PAGE_SHIFT;
> +       new_start = (u64)new_mem->start << PAGE_SHIFT;
>
>         switch (old_mem->mem_type) {
>         case TTM_PL_VRAM:
> --
> 2.5.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list