aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding2014-04-09 01:59:04 -0500
committerThierry Reding2015-08-18 03:48:11 -0500
commitd2d361cddd2bdf8f1bf627b9ebe8ca802156f8af (patch)
tree5cf6265d6c10de0752a79e7533c733c93e211f53 /xf86drmMode.c
parent56d8dd6a9c03680700e0b0043cb56e0af7e3e3de (diff)
downloadexternal-libgbm-d2d361cddd2bdf8f1bf627b9ebe8ca802156f8af.tar.gz
external-libgbm-d2d361cddd2bdf8f1bf627b9ebe8ca802156f8af.tar.xz
external-libgbm-d2d361cddd2bdf8f1bf627b9ebe8ca802156f8af.zip
libdrm: Remove gratuitous blank lines
Usage of blank lines can be a matter of taste, of course, but for these we can surely all agree that they're not needed and inconsistent. Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'xf86drmMode.c')
-rw-r--r--xf86drmMode.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xf86drmMode.c b/xf86drmMode.c
index fc19504d..23348d76 100644
--- a/xf86drmMode.c
+++ b/xf86drmMode.c
@@ -114,7 +114,6 @@ void drmModeFreeResources(drmModeResPtr ptr)
114 drmFree(ptr->connectors); 114 drmFree(ptr->connectors);
115 drmFree(ptr->encoders); 115 drmFree(ptr->encoders);
116 drmFree(ptr); 116 drmFree(ptr);
117
118} 117}
119 118
120void drmModeFreeFB(drmModeFBPtr ptr) 119void drmModeFreeFB(drmModeFBPtr ptr)
@@ -132,7 +131,6 @@ void drmModeFreeCrtc(drmModeCrtcPtr ptr)
132 return; 131 return;
133 132
134 drmFree(ptr); 133 drmFree(ptr);
135
136} 134}
137 135
138void drmModeFreeConnector(drmModeConnectorPtr ptr) 136void drmModeFreeConnector(drmModeConnectorPtr ptr)
@@ -145,7 +143,6 @@ void drmModeFreeConnector(drmModeConnectorPtr ptr)
145 drmFree(ptr->props); 143 drmFree(ptr->props);
146 drmFree(ptr->modes); 144 drmFree(ptr->modes);
147 drmFree(ptr); 145 drmFree(ptr);
148
149} 146}
150 147
151void drmModeFreeEncoder(drmModeEncoderPtr ptr) 148void drmModeFreeEncoder(drmModeEncoderPtr ptr)
@@ -340,7 +337,6 @@ int drmModeDirtyFB(int fd, uint32_t bufferId,
340 return DRM_IOCTL(fd, DRM_IOCTL_MODE_DIRTYFB, &dirty); 337 return DRM_IOCTL(fd, DRM_IOCTL_MODE_DIRTYFB, &dirty);
341} 338}
342 339
343
344/* 340/*
345 * Crtc functions 341 * Crtc functions
346 */ 342 */
@@ -377,7 +373,6 @@ drmModeCrtcPtr drmModeGetCrtc(int fd, uint32_t crtcId)
377 return r; 373 return r;
378} 374}
379 375
380
381int drmModeSetCrtc(int fd, uint32_t crtcId, uint32_t bufferId, 376int drmModeSetCrtc(int fd, uint32_t crtcId, uint32_t bufferId,
382 uint32_t x, uint32_t y, uint32_t *connectors, int count, 377 uint32_t x, uint32_t y, uint32_t *connectors, int count,
383 drmModeModeInfoPtr mode) 378 drmModeModeInfoPtr mode)
@@ -610,7 +605,6 @@ int drmModeDetachMode(int fd, uint32_t connector_id, drmModeModeInfoPtr mode_inf
610 return DRM_IOCTL(fd, DRM_IOCTL_MODE_DETACHMODE, &res); 605 return DRM_IOCTL(fd, DRM_IOCTL_MODE_DETACHMODE, &res);
611} 606}
612 607
613
614drmModePropertyPtr drmModeGetProperty(int fd, uint32_t property_id) 608drmModePropertyPtr drmModeGetProperty(int fd, uint32_t property_id)
615{ 609{
616 struct drm_mode_get_property prop; 610 struct drm_mode_get_property prop;
@@ -944,7 +938,6 @@ int drmModeSetPlane(int fd, uint32_t plane_id, uint32_t crtc_id,
944 uint32_t crtc_w, uint32_t crtc_h, 938 uint32_t crtc_w, uint32_t crtc_h,
945 uint32_t src_x, uint32_t src_y, 939 uint32_t src_x, uint32_t src_y,
946 uint32_t src_w, uint32_t src_h) 940 uint32_t src_w, uint32_t src_h)
947
948{ 941{
949 struct drm_mode_set_plane s; 942 struct drm_mode_set_plane s;
950 943
@@ -965,7 +958,6 @@ int drmModeSetPlane(int fd, uint32_t plane_id, uint32_t crtc_id,
965 return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETPLANE, &s); 958 return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETPLANE, &s);
966} 959}
967 960
968
969drmModePlanePtr drmModeGetPlane(int fd, uint32_t plane_id) 961drmModePlanePtr drmModeGetPlane(int fd, uint32_t plane_id)
970{ 962{
971 struct drm_mode_get_plane ovr, counts; 963 struct drm_mode_get_plane ovr, counts;