~ubuntu-branches/ubuntu/quantal/mesa/quantal

« back to all changes in this revision

Viewing changes to src/mesa/drivers/dri/r300/r300_cmdbuf.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-02-21 12:44:07 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20070221124407-rgcacs32mycrtadl
ImportĀ upstreamĀ versionĀ 6.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
544
544
                size = 64*256;
545
545
 
546
546
        if (RADEON_DEBUG & (DEBUG_IOCTL|DEBUG_DMA)) {
547
 
                fprintf(stderr, "sizeof(drm_r300_cmd_header_t)=%ld\n",
 
547
                fprintf(stderr, "sizeof(drm_r300_cmd_header_t)=%u\n",
548
548
                        sizeof(drm_r300_cmd_header_t));
549
 
                fprintf(stderr, "sizeof(drm_radeon_cmd_buffer_t)=%ld\n",
 
549
                fprintf(stderr, "sizeof(drm_radeon_cmd_buffer_t)=%u\n",
550
550
                        sizeof(drm_radeon_cmd_buffer_t));
551
551
                fprintf(stderr,
552
552
                        "Allocating %d bytes command buffer (max state is %d bytes)\n",
603
603
 
604
604
        cmd[0].header.cmd_type = R300_CMD_PACKET3;
605
605
        cmd[0].header.pad0 = R300_CMD_PACKET3_RAW;
606
 
        cmd[1].u = R200_CP_CMD_BITBLT_MULTI | (5 << 16);
 
606
        cmd[1].u = R300_CP_CMD_BITBLT_MULTI | (5 << 16);
607
607
        cmd[2].u = (RADEON_GMC_SRC_PITCH_OFFSET_CNTL |
608
608
                    RADEON_GMC_DST_PITCH_OFFSET_CNTL |
609
609
                    RADEON_GMC_BRUSH_NONE |