whitespace cleanup

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Joseph Crowell
2025-08-02 17:37:06 +10:00
parent ea30a8b4df
commit 5dc629a43c
3 changed files with 6 additions and 6 deletions

View File

@@ -202,7 +202,7 @@ Bool amdgpu_pixmap_get_handle(PixmapPtr pixmap, uint32_t *handle)
if (priv->handle_valid)
goto success;
#ifdef USE_GLAMOR
if (info->use_glamor) {
AMDGPUEntPtr pAMDGPUEnt = AMDGPUEntPriv(scrn);

View File

@@ -342,7 +342,7 @@ amdgpu_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++;
@@ -849,7 +849,7 @@ amdgpu_prime_scanout_flip(PixmapDirtyUpdatePtr ent)
"Failed to get FB for PRIME flip.\n");
return;
}
drm_queue_seq = amdgpu_drm_queue_alloc(crtc,
AMDGPU_DRM_QUEUE_CLIENT_DEFAULT,
AMDGPU_DRM_QUEUE_ID_DEFAULT, fb,

View File

@@ -501,7 +501,7 @@ drmmode_crtc_scanout_create(xf86CrtcPtr crtc, PixmapPtr *scanout,
if (!amdgpu_pixmap_get_fb(*scanout)) {
ErrorF("failed to create CRTC scanout FB\n");
error:
error:
drmmode_crtc_scanout_destroy(scanout);
return FALSE;
}
@@ -649,7 +649,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,
@@ -3451,7 +3451,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);