mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-21 23:06:29 +00:00
intel_sprite_on: kill overtly verbose and totally content-free comments
/me just hates fluff Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
42b20d4ab9
commit
f4908880f3
@ -125,11 +125,6 @@ struct connector
|
|||||||
int pipe;
|
int pipe;
|
||||||
};
|
};
|
||||||
|
|
||||||
//*****************************************************************************
|
|
||||||
//
|
|
||||||
// usage
|
|
||||||
//
|
|
||||||
//*****************************************************************************
|
|
||||||
static void dump_mode(
|
static void dump_mode(
|
||||||
drmModeModeInfo *mode)
|
drmModeModeInfo *mode)
|
||||||
{
|
{
|
||||||
@ -149,11 +144,6 @@ static void dump_mode(
|
|||||||
mode->clock);
|
mode->clock);
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
|
||||||
//
|
|
||||||
// dump_connectors
|
|
||||||
//
|
|
||||||
//*****************************************************************************
|
|
||||||
static void dump_connectors(
|
static void dump_connectors(
|
||||||
int gfx_fd,
|
int gfx_fd,
|
||||||
drmModeRes *resources)
|
drmModeRes *resources)
|
||||||
@ -194,11 +184,6 @@ static void dump_connectors(
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
|
||||||
//
|
|
||||||
// dump_crtcs
|
|
||||||
//
|
|
||||||
//*****************************************************************************
|
|
||||||
static void dump_crtcs(
|
static void dump_crtcs(
|
||||||
int gfx_fd,
|
int gfx_fd,
|
||||||
drmModeRes *resources)
|
drmModeRes *resources)
|
||||||
@ -229,11 +214,6 @@ static void dump_crtcs(
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
|
||||||
//
|
|
||||||
// dump_planes
|
|
||||||
//
|
|
||||||
//*****************************************************************************
|
|
||||||
static void dump_planes(
|
static void dump_planes(
|
||||||
int gfx_fd,
|
int gfx_fd,
|
||||||
drmModeRes *resources)
|
drmModeRes *resources)
|
||||||
@ -271,11 +251,6 @@ static void dump_planes(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
|
||||||
//
|
|
||||||
// connector_find_preferred_mode
|
|
||||||
//
|
|
||||||
//*****************************************************************************
|
|
||||||
static void connector_find_preferred_mode(
|
static void connector_find_preferred_mode(
|
||||||
int gfx_fd,
|
int gfx_fd,
|
||||||
drmModeRes *gfx_resources,
|
drmModeRes *gfx_resources,
|
||||||
@ -372,11 +347,6 @@ static void connector_find_preferred_mode(
|
|||||||
c->connector = connector;
|
c->connector = connector;
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
|
||||||
//
|
|
||||||
// connector_find_plane
|
|
||||||
//
|
|
||||||
//*****************************************************************************
|
|
||||||
static int connector_find_plane(int gfx_fd, struct connector *c)
|
static int connector_find_plane(int gfx_fd, struct connector *c)
|
||||||
{
|
{
|
||||||
drmModePlaneRes *plane_resources;
|
drmModePlaneRes *plane_resources;
|
||||||
@ -410,11 +380,6 @@ static int connector_find_plane(int gfx_fd, struct connector *c)
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
|
||||||
//
|
|
||||||
// prepare_primary_surface
|
|
||||||
//
|
|
||||||
//*****************************************************************************
|
|
||||||
static int prepare_primary_surface(
|
static int prepare_primary_surface(
|
||||||
int fd,
|
int fd,
|
||||||
int prim_width,
|
int prim_width,
|
||||||
@ -484,11 +449,6 @@ static int prepare_primary_surface(
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
|
||||||
//
|
|
||||||
// fill_sprite
|
|
||||||
//
|
|
||||||
//*****************************************************************************
|
|
||||||
static void fill_sprite(
|
static void fill_sprite(
|
||||||
int sprite_width,
|
int sprite_width,
|
||||||
int sprite_height,
|
int sprite_height,
|
||||||
@ -531,11 +491,6 @@ static void fill_sprite(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
|
||||||
//
|
|
||||||
// prepare_sprite_surfaces
|
|
||||||
//
|
|
||||||
//*****************************************************************************
|
|
||||||
static int prepare_sprite_surfaces(
|
static int prepare_sprite_surfaces(
|
||||||
int fd,
|
int fd,
|
||||||
int sprite_width,
|
int sprite_width,
|
||||||
@ -621,11 +576,6 @@ static int prepare_sprite_surfaces(
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
|
||||||
//
|
|
||||||
// ricochet
|
|
||||||
//
|
|
||||||
//*****************************************************************************
|
|
||||||
static void ricochet(
|
static void ricochet(
|
||||||
int tiled,
|
int tiled,
|
||||||
int sprite_w,
|
int sprite_w,
|
||||||
@ -1037,11 +987,6 @@ out:
|
|||||||
drmModeFreeResources(gfx_resources);
|
drmModeFreeResources(gfx_resources);
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
|
||||||
//
|
|
||||||
// usage
|
|
||||||
//
|
|
||||||
//*****************************************************************************
|
|
||||||
static void usage(char *name)
|
static void usage(char *name)
|
||||||
{
|
{
|
||||||
printf("usage: %s -s <plane width>x<plane height> [-dhto]\n"
|
printf("usage: %s -s <plane width>x<plane height> [-dhto]\n"
|
||||||
@ -1059,11 +1004,6 @@ static void usage(char *name)
|
|||||||
name);
|
name);
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
|
||||||
//
|
|
||||||
// main
|
|
||||||
//
|
|
||||||
//*****************************************************************************
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user