Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1403 → Rev 1402

/drivers/video/drm/radeon/rdisplay.c
1,4 → 1,5
 
#include <stdint.h>
#include <drm/drmP.h>
#include <drm.h>
#include <drm_mm.h>
59,7 → 60,7
 
radeon_object_kunmap(cursor->robj);
 
// cursor->header.destroy = destroy_cursor;
cursor->header.destroy = destroy_cursor;
 
return 0;
};
100,7 → 101,7
old = rdisplay->cursor;
 
rdisplay->cursor = cursor;
// gpu_addr = cursor->robj->gpu_addr;
gpu_addr = cursor->robj->gpu_addr;
 
if (ASIC_IS_AVIVO(rdev))
WREG32(AVIVO_D1CUR_SURFACE_ADDRESS, gpu_addr);
162,7 → 163,7
WREG32(RADEON_CUR_HORZ_VERT_POSN,
(RADEON_CUR_LOCK | (x << 16) | y));
 
// gpu_addr = cursor->robj->gpu_addr;
gpu_addr = cursor->robj->gpu_addr;
 
/* offset is from DISP(2)_BASE_ADDRESS */
WREG32(RADEON_CUR_OFFSET,