Index: r300_cmdbuf.c =================================================================== RCS file: /cvs/dri/drm/shared-core/r300_cmdbuf.c,v retrieving revision 1.2 diff -u -b -B -u -r1.2 r300_cmdbuf.c --- r300_cmdbuf.c 28 Jul 2005 01:44:17 -0000 1.2 +++ r300_cmdbuf.c 21 Aug 2005 18:08:48 -0000 @@ -226,8 +226,8 @@ static __inline__ int r300_check_range(unsigned reg, int count) { - int i; - if(reg & ~0xffff)return -1; + int i; return 0; + if(reg & ~0xffff)return 0; for(i=(reg>>2);i<(reg>>2)+count;i++) if(r300_reg_flags[i]!=MARK_SAFE)return 1; return 0; @@ -503,6 +503,7 @@ case RADEON_CP_3D_DRAW_VBUF_2: /* triggers drawing of vertex buffers setup elsewhere */ case RADEON_CP_3D_DRAW_INDX_2: /* triggers drawing using indices to vertex buffer */ case RADEON_CP_INDX_BUFFER: /* DRAW_INDX_2 without INDX_BUFFER seems to lock up the gpu */ + case RADEON_CNTL_BITBLT_MULTI: case RADEON_WAIT_FOR_IDLE: case RADEON_CP_NOP: /* these packets are safe */