mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-06 12:58:06 +02:00
DRM_DEBUG=1 warnings cleanup
This commit is contained in:
parent
76b60581df
commit
fd4d82a496
2 changed files with 9 additions and 9 deletions
|
|
@ -523,7 +523,7 @@ static void mga_dma_dispatch_clear( drm_device_t *dev,
|
|||
int nbox = sarea_priv->nbox;
|
||||
int i;
|
||||
DMA_LOCALS;
|
||||
DRM_DEBUG( __FUNCTION__ ":\n" );
|
||||
DRM_DEBUG( "%s:\n", __FUNCTION__ );
|
||||
|
||||
BEGIN_DMA( 1 );
|
||||
|
||||
|
|
@ -617,7 +617,7 @@ static void mga_dma_dispatch_swap( drm_device_t *dev )
|
|||
int nbox = sarea_priv->nbox;
|
||||
int i;
|
||||
DMA_LOCALS;
|
||||
DRM_DEBUG( __FUNCTION__ ":\n" );
|
||||
DRM_DEBUG( "%s:\n", __FUNCTION__ );
|
||||
|
||||
sarea_priv->last_frame.head = dev_priv->prim.tail;
|
||||
sarea_priv->last_frame.wrap = dev_priv->prim.last_wrap;
|
||||
|
|
@ -826,7 +826,7 @@ static void mga_dma_dispatch_blit( drm_device_t *dev,
|
|||
int nbox = sarea_priv->nbox;
|
||||
u32 scandir = 0, i;
|
||||
DMA_LOCALS;
|
||||
DRM_DEBUG( __FUNCTION__ ":\n" );
|
||||
DRM_DEBUG( "%s:\n", __FUNCTION__ );
|
||||
|
||||
BEGIN_DMA( 4 + nbox );
|
||||
|
||||
|
|
@ -1012,7 +1012,7 @@ int mga_dma_iload( DRM_OS_IOCTL )
|
|||
drm_buf_t *buf;
|
||||
drm_mga_buf_priv_t *buf_priv;
|
||||
drm_mga_iload_t iload;
|
||||
DRM_DEBUG( __FUNCTION__ ":\n" );
|
||||
DRM_DEBUG( "%s:\n", __FUNCTION__ );
|
||||
|
||||
LOCK_TEST_WITH_RETURN( dev );
|
||||
|
||||
|
|
|
|||
|
|
@ -445,7 +445,7 @@ static void radeon_cp_dispatch_clear( drm_device_t *dev,
|
|||
u32 rb3d_cntl = 0, rb3d_stencilrefmask= 0;
|
||||
int i;
|
||||
RING_LOCALS;
|
||||
DRM_DEBUG( __FUNCTION__": flags = 0x%x\n", flags );
|
||||
DRM_DEBUG( "%s: flags = 0x%x\n", __FUNCTION__, flags );
|
||||
|
||||
if ( dev_priv->page_flipping && dev_priv->current_page == 1 ) {
|
||||
unsigned int tmp = flags;
|
||||
|
|
@ -741,8 +741,8 @@ static void radeon_cp_dispatch_vertex( drm_device_t *dev,
|
|||
int i = 0;
|
||||
RING_LOCALS;
|
||||
|
||||
DRM_DEBUG( __FUNCTION__": nbox=%d %d..%d prim %x nvert %d\n",
|
||||
sarea_priv->nbox, prim->start, prim->finish,
|
||||
DRM_DEBUG( "%s: nbox=%d %d..%d prim %x nvert %d\n",
|
||||
__FUNCTION__, sarea_priv->nbox, prim->start, prim->finish,
|
||||
prim->prim, numverts );
|
||||
|
||||
buf_priv->dispatched = 1;
|
||||
|
|
@ -1483,8 +1483,8 @@ int radeon_cp_vertex2( DRM_OS_IOCTL )
|
|||
|
||||
DRM_OS_KRNFROMUSR(vertex, (drm_radeon_vertex2_t *)data, sizeof(vertex));
|
||||
|
||||
DRM_DEBUG( __FUNCTION__": pid=%d index=%d discard=%d\n",
|
||||
current->pid, vertex.idx, vertex.discard );
|
||||
DRM_DEBUG( "%s: pid=%d index=%d discard=%d\n", __FUNCTION__,
|
||||
DRM_OS_CURRENTPID, vertex.idx, vertex.discard );
|
||||
|
||||
if ( vertex.idx < 0 || vertex.idx >= dma->buf_count ) {
|
||||
DRM_ERROR( "buffer index %d (of %d max)\n",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue