42 static void radeonfb_prim_fillrect(
struct radeonfb_info *rinfo,
80 radeon_fixup_offset(rinfo);
82 vxres = info->
var.xres_virtual;
83 vyres = info->
var.yres_virtual;
88 modded.
dx >= vxres || modded.
dy >= vyres)
91 if(modded.
dx + modded.
width > vxres) modded.
width = vxres - modded.
dx;
94 radeonfb_prim_fillrect(rinfo, &modded);
97 static void radeonfb_prim_copyarea(
struct radeonfb_info *rinfo,
104 dx = area->
dx; dy = area->
dy;
105 sx = area->
sx; sy = area->
sy;
109 if ( xdir < 0 ) { sx += w-1; dx += w-1; }
110 if ( ydir < 0 ) { sy += h-1; dy += h-1; }
139 modded.
sx = area->
sx;
140 modded.
sy = area->
sy;
141 modded.
dx = area->
dx;
142 modded.
dy = area->
dy;
153 radeon_fixup_offset(rinfo);
155 vxres = info->
var.xres_virtual;
156 vyres = info->
var.yres_virtual;
159 modded.
sx >= vxres || modded.
sy >= vyres ||
160 modded.
dx >= vxres || modded.
dy >= vyres)
163 if(modded.
sx + modded.
width > vxres) modded.
width = vxres - modded.
sx;
164 if(modded.
dx + modded.
width > vxres) modded.
width = vxres - modded.
dx;
168 radeonfb_prim_copyarea(rinfo, &modded);
195 u32 clock_cntl_index, mclk_cntl, rbbm_soft_reset;
198 radeon_engine_flush (rinfo);
292 #if defined(__BIG_ENDIAN)
302 temp = radeon_get_dstbpp(rinfo->
depth);