summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2025-08-12 17:22:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2025-08-12 17:22:33 -0700
commit008e3482dee196604ef43307109d133a173e45ce (patch)
tree8189243ec274bfba2c3f12bfe5e75863a1ce2416 /src
parent7fb2787108f87998d86d157532325798025c459f (diff)
Strip trailing whitespace from source filesHEADmaster
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'` `git diff -w` & `git diff -b` show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/merge_requests/32>
Diffstat (limited to 'src')
-rw-r--r--src/atipcirename.h2
-rw-r--r--src/drmmode_display.c14
-rw-r--r--src/evergreen_exa.c2
-rwxr-xr-xsrc/pcidb/parse_pci_ids.pl2
-rw-r--r--src/r600_exa.c4
-rw-r--r--src/r600_shader.c12
-rw-r--r--src/radeon.h8
-rw-r--r--src/radeon_accel.c2
-rw-r--r--src/radeon_dri2.c10
-rw-r--r--src/radeon_exa.c2
-rw-r--r--src/radeon_exa_funcs.c2
-rw-r--r--src/radeon_exa_render.c18
-rw-r--r--src/radeon_kms.c8
-rw-r--r--src/radeon_reg.h8
-rw-r--r--src/radeon_textured_video.c4
-rw-r--r--src/radeon_textured_videofuncs.c2
-rw-r--r--src/radeon_video.c4
-rw-r--r--src/simple_list.h12
18 files changed, 58 insertions, 58 deletions
diff --git a/src/atipcirename.h b/src/atipcirename.h
index fa0f9ae9..8414097d 100644
--- a/src/atipcirename.h
+++ b/src/atipcirename.h
@@ -31,7 +31,7 @@
enum region_type {
REGION_MEM,
- REGION_IO
+ REGION_IO
};
typedef struct pci_device *pciVideoPtr;
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index a58f24dd..83b16d5a 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -574,7 +574,7 @@ drmmode_crtc_scanout_create(xf86CrtcPtr crtc, struct drmmode_scanout *scanout,
scanout->height = height;
} else {
ErrorF("failed to create CRTC scanout FB\n");
-error:
+error:
drmmode_crtc_scanout_destroy(drmmode, scanout);
}
@@ -745,7 +745,7 @@ drmmode_crtc_prime_scanout_update(xf86CrtcPtr crtc, DisplayModePtr mode,
*x = *y = 0;
drmmode_crtc->scanout_id = scanout_id;
}
-
+
static void
drmmode_crtc_scanout_update(xf86CrtcPtr crtc, DisplayModePtr mode,
@@ -1813,7 +1813,7 @@ drmmode_output_create_resources(xf86OutputPtr output)
drmmode_output->props = calloc(mode_output->count_props + 1, sizeof(drmmode_prop_rec));
if (!drmmode_output->props)
return;
-
+
drmmode_output->num_props = 0;
for (i = 0, j = 0; i < mode_output->count_props; i++) {
drmmode_prop = drmModeGetProperty(pRADEONEnt->fd, mode_output->props[i]);
@@ -2227,7 +2227,7 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_r
#if XF86_CRTC_VERSION >= 8
output->non_desktop = nonDesktop;
#endif
-
+
output->possible_crtcs = 0xffffffff;
for (i = 0; i < koutput->count_encoders; i++) {
output->possible_crtcs &= kencoders[i]->possible_crtcs;
@@ -2271,7 +2271,7 @@ uint32_t find_clones(ScrnInfoPtr scrn, xf86OutputPtr output)
clone_drmout = clone_output->driver_private;
if (output == clone_output)
continue;
-
+
if (clone_drmout->enc_mask == 0)
continue;
if (drmmode_output->enc_clone_mask == clone_drmout->enc_mask)
@@ -2737,7 +2737,7 @@ drm_wakeup_handler(pointer data, int err, pointer p)
{
drmmode_ptr drmmode = data;
RADEONEntPtr pRADEONEnt = RADEONEntPriv(drmmode->scrn);
-
+
#if !HAVE_NOTIFY_FD
fd_set *read_mask = p;
@@ -3050,7 +3050,7 @@ miPointerSpriteFuncRec drmmode_sprite_funcs = {
.DeviceCursorCleanup = drmmode_sprite_device_cursor_cleanup,
};
-
+
void drmmode_adjust_frame(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int x, int y)
{
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
diff --git a/src/evergreen_exa.c b/src/evergreen_exa.c
index 447ed217..ec7fe77e 100644
--- a/src/evergreen_exa.c
+++ b/src/evergreen_exa.c
@@ -2072,7 +2072,7 @@ EVERGREENDrawInit(ScreenPtr pScreen)
info->accel_state->exa->UploadToScreen = EVERGREENUploadToScreen;
info->accel_state->exa->DownloadFromScreen = EVERGREENDownloadFromScreen;
info->accel_state->exa->CreatePixmap2 = RADEONEXACreatePixmap2;
- info->accel_state->exa->SharePixmapBacking = RADEONEXASharePixmapBacking;
+ info->accel_state->exa->SharePixmapBacking = RADEONEXASharePixmapBacking;
info->accel_state->exa->SetSharedPixmapBacking = RADEONEXASetSharedPixmapBacking;
info->accel_state->exa->flags = EXA_OFFSCREEN_PIXMAPS | EXA_SUPPORTS_PREPARE_AUX |
EXA_HANDLES_PIXMAPS | EXA_MIXED_PIXMAPS;
diff --git a/src/pcidb/parse_pci_ids.pl b/src/pcidb/parse_pci_ids.pl
index 222dcf89..c1ec3545 100755
--- a/src/pcidb/parse_pci_ids.pl
+++ b/src/pcidb/parse_pci_ids.pl
@@ -48,7 +48,7 @@ while (<CSV>) {
if (($columns[2] ne "R128") && ($columns[2] ne "MACH64") && ($columns[2] ne "MACH32")) {
print PCICHIPSET " { PCI_CHIP_$columns[1], PCI_CHIP_$columns[1], RES_SHARED_VGA },\n";
-
+
print PCIDEVICEMATCH " ATI_DEVICE_MATCH( PCI_CHIP_$columns[1], 0 ),\n";
print RADEONCHIPSET " { PCI_CHIP_$columns[1], \"$columns[8]\" },\n";
diff --git a/src/r600_exa.c b/src/r600_exa.c
index 99db0c40..45c193f0 100644
--- a/src/r600_exa.c
+++ b/src/r600_exa.c
@@ -577,7 +577,7 @@ R600PrepareCopy(PixmapPtr pSrc, PixmapPtr pDst,
0);
if (!accel_state->copy_area_bo)
RADEON_FALLBACK(("temp copy surface alloc failed\n"));
-
+
radeon_cs_space_add_persistent_bo(info->cs, accel_state->copy_area_bo,
0, RADEON_GEM_DOMAIN_VRAM);
if (radeon_cs_space_check(info->cs)) {
@@ -2051,7 +2051,7 @@ R600DrawInit(ScreenPtr pScreen)
info->accel_state->exa->UploadToScreen = R600UploadToScreenCS;
info->accel_state->exa->DownloadFromScreen = R600DownloadFromScreenCS;
info->accel_state->exa->CreatePixmap2 = RADEONEXACreatePixmap2;
- info->accel_state->exa->SharePixmapBacking = RADEONEXASharePixmapBacking;
+ info->accel_state->exa->SharePixmapBacking = RADEONEXASharePixmapBacking;
info->accel_state->exa->SetSharedPixmapBacking = RADEONEXASetSharedPixmapBacking;
info->accel_state->exa->flags = EXA_OFFSCREEN_PIXMAPS | EXA_SUPPORTS_PREPARE_AUX |
EXA_HANDLES_PIXMAPS | EXA_MIXED_PIXMAPS;
diff --git a/src/r600_shader.c b/src/r600_shader.c
index 26a6ab64..30ce8265 100644
--- a/src/r600_shader.c
+++ b/src/r600_shader.c
@@ -455,13 +455,13 @@ int R600_copy_ps(RADEONChipFamily ChipSet, uint32_t* shader)
/*
* ; xv vertex shader
- * 00 VTX: ADDR(4) CNT(2)
- * 0 VFETCH R1.xy01, R0.x, fc0 MEGA(16) FORMAT(32_32_FLOAT)
- * FORMAT_COMP(SIGNED)
- * 1 VFETCH R0.xy01, R0.x, fc0 MINI(8) OFFSET(8) FORMAT(32_32_FLOAT)
- * FORMAT_COMP(SIGNED)
+ * 00 VTX: ADDR(4) CNT(2)
+ * 0 VFETCH R1.xy01, R0.x, fc0 MEGA(16) FORMAT(32_32_FLOAT)
+ * FORMAT_COMP(SIGNED)
+ * 1 VFETCH R0.xy01, R0.x, fc0 MINI(8) OFFSET(8) FORMAT(32_32_FLOAT)
+ * FORMAT_COMP(SIGNED)
* 01 EXP_DONE: POS0, R1
- * 02 EXP_DONE: PARAM0, R0 NO_BARRIER
+ * 02 EXP_DONE: PARAM0, R0 NO_BARRIER
* END_OF_PROGRAM
*/
int R600_xv_vs(RADEONChipFamily ChipSet, uint32_t* shader)
diff --git a/src/radeon.h b/src/radeon.h
index 6d1d21ee..ad0f98c5 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -137,7 +137,7 @@ RegionDuplicate(RegionPtr pOld)
#define radeon_bswap_32(value) \
(((uint32_t)radeon_bswap_16((uint16_t)((value) & 0xffff)) << 16) | \
(uint32_t)radeon_bswap_16((uint16_t)((value) >> 16)))
-
+
#define radeon_bswap_64(value) \
(((uint64_t)radeon_bswap_32((uint32_t)((value) & 0xffffffff)) \
<< 32) | \
@@ -364,7 +364,7 @@ struct radeon_2d_state {
struct radeon_bo *dst_bo;
struct radeon_bo *src_bo;
};
-
+
#define DMA_BO_FREE_TIME 1000
struct radeon_dma_bo {
@@ -569,7 +569,7 @@ typedef struct {
Bool r600_shadow_fb;
void *fb_shadow;
- void (*reemit_current2d)(ScrnInfoPtr pScrn, int op); // emit the current 2D state into the IB
+ void (*reemit_current2d)(ScrnInfoPtr pScrn, int op); // emit the current 2D state into the IB
struct radeon_2d_state state_2d;
struct radeon_buffer *front_buffer;
struct radeon_bo_manager *bufmgr;
@@ -885,7 +885,7 @@ radeon_pixmap_get_fb(PixmapPtr pix)
if (fb_ptr && *fb_ptr)
return *fb_ptr;
-
+
if (radeon_get_pixmap_handle(pix, &handle)) {
ScrnInfoPtr scrn = xf86ScreenToScrn(pix->drawable.pScreen);
RADEONEntPtr pRADEONEnt = RADEONEntPriv(scrn);
diff --git a/src/radeon_accel.c b/src/radeon_accel.c
index a0dca68c..f09bb1da 100644
--- a/src/radeon_accel.c
+++ b/src/radeon_accel.c
@@ -984,7 +984,7 @@ void RADEONWaitForVLine(ScrnInfoPtr pScrn, PixmapPtr pPix,
}
OUT_RING_REG(RADEON_WAIT_UNTIL, (RADEON_WAIT_CRTC_VLINE |
RADEON_ENG_DISPLAY_SELECT_CRTC0));
-
+
OUT_RING(CP_PACKET3(RADEON_CP_PACKET3_NOP, 0));
OUT_RING(drmmode_crtc->mode_crtc->crtc_id);
ADVANCE_RING();
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index fba56e5d..d7492440 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 Kristian Høgsberg
+ * Copyright 2008 Kristian Høgsberg
* Copyright 2008 Jérôme Glisse
*
* All Rights Reserved.
@@ -195,7 +195,7 @@ radeon_dri2_create_buffer2(ScreenPtr pScreen,
flags = RADEON_CREATE_PIXMAP_TILING_MACRO | RADEON_CREATE_PIXMAP_TILING_MICRO;
if (IS_R200_3D || info->ChipFamily == CHIP_FAMILY_RV200 || info->ChipFamily == CHIP_FAMILY_RADEON)
flags |= RADEON_CREATE_PIXMAP_DEPTH;
-
+
break;
case DRI2BufferBackLeft:
case DRI2BufferBackRight:
@@ -289,7 +289,7 @@ radeon_dri2_destroy_buffer2(ScreenPtr pScreen,
if (private->refcnt == 0) {
ScrnInfoPtr scrn = xf86ScreenToScrn(pScreen);
- xf86DrvMsg(scrn->scrnIndex, X_WARNING,
+ xf86DrvMsg(scrn->scrnIndex, X_WARNING,
"Attempted to destroy previously destroyed buffer.\
This is a programming error\n");
return;
@@ -376,7 +376,7 @@ radeon_dri2_copy_region2(ScreenPtr pScreen,
ValidateGC(dst_drawable, gc);
vsync = info->accel_state->vsync;
- /* Driver option "SwapbuffersWait" defines if we vsync DRI2 copy-swaps. */
+ /* Driver option "SwapbuffersWait" defines if we vsync DRI2 copy-swaps. */
info->accel_state->vsync = info->swapBuffersWait;
info->accel_state->force = TRUE;
@@ -1204,7 +1204,7 @@ static int radeon_dri2_schedule_swap(ClientPtr client, DrawablePtr draw,
/* radeon_dri2_frame_event_handler will get called some unknown time in the
* future with these buffers. Take a reference to ensure that they won't
- * get destroyed before then.
+ * get destroyed before then.
*/
radeon_dri2_ref_buffer(front);
radeon_dri2_ref_buffer(back);
diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index 320ff992..2344da7f 100644
--- a/src/radeon_exa.c
+++ b/src/radeon_exa.c
@@ -207,7 +207,7 @@ Bool RADEONPrepareAccess_CS(PixmapPtr pPix, int index)
if (flush)
radeon_cs_flush_indirect(pScrn);
-
+
/* flush IB */
ret = radeon_bo_map(driver_priv->bo->bo.radeon, 1);
if (ret) {
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c
index b3200cc9..535afbeb 100644
--- a/src/radeon_exa_funcs.c
+++ b/src/radeon_exa_funcs.c
@@ -646,7 +646,7 @@ Bool RADEONDrawInit(ScreenPtr pScreen)
info->accel_state->exa->PrepareAccess = RADEONPrepareAccess_CS;
info->accel_state->exa->FinishAccess = RADEONFinishAccess_CS;
info->accel_state->exa->CreatePixmap2 = RADEONEXACreatePixmap2;
- info->accel_state->exa->SharePixmapBacking = RADEONEXASharePixmapBacking;
+ info->accel_state->exa->SharePixmapBacking = RADEONEXASharePixmapBacking;
info->accel_state->exa->SetSharedPixmapBacking = RADEONEXASetSharedPixmapBacking;
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c
index a5f9612b..44bcc49c 100644
--- a/src/radeon_exa_render.c
+++ b/src/radeon_exa_render.c
@@ -264,13 +264,13 @@ static Bool RADEONSetupSourceTile(PicturePtr pPict,
info->accel_state->need_src_tile_x = info->accel_state->need_src_tile_y = FALSE;
info->accel_state->src_tile_width = info->accel_state->src_tile_height = 65536; /* "infinite" */
-
+
if (repeatType == RepeatNormal || repeatType == RepeatReflect) {
Bool badPitch = needMatchingPitch && !RADEONPitchMatches(pPix);
-
+
int w = pPict->pDrawable ? pPict->pDrawable->width : 1;
int h = pPict->pDrawable ? pPict->pDrawable->height : 1;
-
+
if (pPict->transform) {
if (badPitch)
RADEON_FALLBACK(("Width %d and pitch %u not compatible for repeat\n",
@@ -1217,7 +1217,7 @@ static Bool R300TextureSetup(PicturePtr pPict, PixmapPtr pPix,
txfilter |= R300_TX_CLAMP_S(R300_TX_CLAMP_WRAP);
else
txfilter |= R300_TX_CLAMP_S(R300_TX_CLAMP_CLAMP_GL);
-
+
if (unit != 0 || !info->accel_state->need_src_tile_y)
txfilter |= R300_TX_CLAMP_T(R300_TX_CLAMP_WRAP);
else
@@ -2073,7 +2073,7 @@ static Bool R300PrepareComposite(int op, PicturePtr pSrcPicture,
}
ADVANCE_RING();
-
+
BEGIN_ACCEL_RELOC(3, 2);
EMIT_WRITE_OFFSET(R300_RB3D_COLOROFFSET0, 0, pDst);
EMIT_COLORPITCH(R300_RB3D_COLORPITCH0, colorpitch, pDst);
@@ -2390,7 +2390,7 @@ static void RadeonComposite(PixmapPtr pDst,
int remainingWidth = width;
int tileSrcX, tileMaskX, tileDstX;
int h = info->accel_state->src_tile_height - tileSrcY;
-
+
if (h > remainingHeight)
h = remainingHeight;
remainingHeight -= h;
@@ -2398,13 +2398,13 @@ static void RadeonComposite(PixmapPtr pDst,
modulus(srcX, info->accel_state->src_tile_width, tileSrcX);
tileMaskX = maskX;
tileDstX = dstX;
-
+
while (remainingWidth > 0) {
int w = info->accel_state->src_tile_width - tileSrcX;
if (w > remainingWidth)
w = remainingWidth;
remainingWidth -= w;
-
+
RadeonCompositeTile(pScrn,
info,
pDst,
@@ -2412,7 +2412,7 @@ static void RadeonComposite(PixmapPtr pDst,
tileMaskX, tileMaskY,
tileDstX, tileDstY,
w, h);
-
+
tileSrcX = 0;
tileMaskX += w;
tileDstX += w;
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 51b00dd9..833d4812 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -300,7 +300,7 @@ radeon_event_callback(CallbackListPtr *list,
*/
client_priv->needs_flush = info->gpu_flushed;
server_priv->needs_flush = info->gpu_flushed;
-
+
for (i = 0; i < eventinfo->count; i++) {
if (eventinfo->events[i].u.u.type == info->callback_event_type) {
client_priv->needs_flush++;
@@ -846,7 +846,7 @@ radeon_prime_scanout_flip(PixmapDirtyUpdatePtr ent)
"Failed to get FB for PRIME flip.\n");
return;
}
-
+
drm_queue_seq = radeon_drm_queue_alloc(crtc,
RADEON_DRM_QUEUE_CLIENT_DEFAULT,
RADEON_DRM_QUEUE_ID_DEFAULT, fb,
@@ -1782,7 +1782,7 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
(unsigned)ARRAY_SIZE(pRADEONEnt->scrn));
return FALSE;
}
-
+
if (!RADEONGetRec(pScrn)) return FALSE;
info = RADEONPTR(pScrn);
@@ -2328,7 +2328,7 @@ Bool RADEONScreenInit_KMS(ScreenPtr pScreen, int argc, char **argv)
}
radeon_cs_set_limit(info->cs, RADEON_GEM_DOMAIN_GTT, info->gart_size);
- radeon_cs_space_set_flush(info->cs, (void(*)(void *))radeon_cs_flush_indirect, pScrn);
+ radeon_cs_space_set_flush(info->cs, (void(*)(void *))radeon_cs_flush_indirect, pScrn);
if (!radeon_setup_kernel_mem(pScreen)) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "radeon_setup_kernel_mem failed\n");
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index fbf15584..e76631b8 100644
--- a/src/radeon_reg.h
+++ b/src/radeon_reg.h
@@ -2304,7 +2304,7 @@
# define RADEON_ROUND_PREC_8TH_PIX (1 << 30)
# define RADEON_ROUND_PREC_4TH_PIX (2 << 30)
# define RADEON_ROUND_PREC_HALF_PIX (3 << 30)
-#define R200_RE_CNTL 0x1c50
+#define R200_RE_CNTL 0x1c50
# define R200_STIPPLE_ENABLE 0x1
# define R200_SCISSOR_ENABLE 0x2
# define R200_PATTERN_ENABLE 0x4
@@ -2596,7 +2596,7 @@
# define RADEON_VF_NUM_VERTICES_SHIFT 16
#define RADEON_SE_PORT_DATA0 0x2000
-
+
#define R200_SE_VAP_CNTL 0x2080
# define R200_VAP_TCL_ENABLE 0x00000001
# define R200_VAP_SINGLE_BUF_STATE_ENABLE 0x00000010
@@ -2630,7 +2630,7 @@
# define R200_SCISSOR_ENABLE_0 0x10000000
# define R200_SCISSOR_ENABLE_1 0x20000000
# define R200_SCISSOR_ENABLE_2 0x40000000
-#define R200_PP_TXFILTER_0 0x2c00
+#define R200_PP_TXFILTER_0 0x2c00
#define R200_PP_TXFILTER_1 0x2c20
#define R200_PP_TXFILTER_2 0x2c40
#define R200_PP_TXFILTER_3 0x2c60
@@ -3856,7 +3856,7 @@
# define AVIVO_DACB_POWERDOWN_POWERDOWN (1 << 0)
# define AVIVO_DACB_POWERDOWN_BLUE (1 << 8)
# define AVIVO_DACB_POWERDOWN_GREEN (1 << 16)
-# define AVIVO_DACB_POWERDOWN_RED
+# define AVIVO_DACB_POWERDOWN_RED
#define AVIVO_TMDSA_CNTL 0x7880
# define AVIVO_TMDSA_CNTL_ENABLE (1 << 0)
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c
index be71e408..96094d5a 100644
--- a/src/radeon_textured_video.c
+++ b/src/radeon_textured_video.c
@@ -348,13 +348,13 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn,
nlines = ((y2 + 0xffff) >> 16) - top;
pPriv->currentBuffer ^= 1;
-
+
src_bo = pPriv->src_bo[pPriv->currentBuffer];
ret = radeon_bo_map(src_bo, 1);
if (ret)
return BadAlloc;
-
+
pPriv->src_addr = src_bo->ptr;
pPriv->src_pitch = dstPitch;
diff --git a/src/radeon_textured_videofuncs.c b/src/radeon_textured_videofuncs.c
index ba10c60d..0e59edcc 100644
--- a/src/radeon_textured_videofuncs.c
+++ b/src/radeon_textured_videofuncs.c
@@ -2384,7 +2384,7 @@ R500PrepareTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
if (pPriv->bicubic_enabled)
radeon_cs_space_add_persistent_bo(info->cs, info->bicubic_bo,
RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM, 0);
-
+
driver_priv = exaGetPixmapDriverPrivate(pPixmap);
radeon_cs_space_add_persistent_bo(info->cs, driver_priv->bo->bo.radeon, 0,
RADEON_GEM_DOMAIN_VRAM);
diff --git a/src/radeon_video.c b/src/radeon_video.c
index fc321184..5cc9e8d0 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -269,12 +269,12 @@ RADEONCopyMungedData(
dst++; s2++; s3++;
s1 += 2;
}
-
+
dst1 += dstPitch;
src1 += srcPitch;
if( j & 1 ) {
src2 += srcPitch2;
src3 += srcPitch2;
- }
+ }
}
}
diff --git a/src/simple_list.h b/src/simple_list.h
index 0be4ad1a..4eee82c3 100644
--- a/src/simple_list.h
+++ b/src/simple_list.h
@@ -4,7 +4,7 @@
*
* Intended to work with a list sentinel which is created as an empty
* list. Insert & delete are O(1).
- *
+ *
* \author
* (C) 1997, Keith Whitwell
*/
@@ -154,19 +154,19 @@ do { \
/**
* Test whether element is at end of the list.
- *
+ *
* \param list list.
* \param elem element.
- *
+ *
* \return non-zero if element is at end of list, or zero otherwise.
*/
#define at_end(list, elem) ((elem) == (list))
/**
* Test if a list is empty.
- *
+ *
* \param list list.
- *
+ *
* \return non-zero if list empty, or zero otherwise.
*/
#define is_empty_list(list) ((list)->next == (list))
@@ -188,7 +188,7 @@ do { \
*
* Same as #foreach but lets you unlink the current value during a list
* traversal. Useful for freeing a list, element by element.
- *
+ *
* \param ptr pointer to the current element.
* \param t temporary pointer.
* \param list list.