mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
kms_rotation_crc: Make more functions static
More of the same. This time no need to move code around, just adding static. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
0506f10623
commit
f00f767cea
@ -65,13 +65,7 @@ typedef struct {
|
||||
int rotate;
|
||||
} data_t;
|
||||
|
||||
int set_plane_property(data_t *data, int plane_id, const char *prop_name, int
|
||||
val, igt_crc_t *crc_output);
|
||||
void test_sprite_rotation(data_t *data);
|
||||
void test_primary_rotation(data_t *data);
|
||||
bool prepare_crtc(data_t *data);
|
||||
|
||||
bool prepare_crtc(data_t *data)
|
||||
static bool prepare_crtc(data_t *data)
|
||||
{
|
||||
drmModeModeInfo *mode;
|
||||
igt_display_t *display = &data->display;
|
||||
@ -249,7 +243,7 @@ static int connector_find_plane(int gfx_fd, uint32_t pipe, uint32_t type)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int set_plane_property(data_t *data, int plane_id, const char *prop_name, int
|
||||
static int set_plane_property(data_t *data, int plane_id, const char *prop_name, int
|
||||
val, igt_crc_t *crc_output)
|
||||
{
|
||||
int i = 0, ret = 0;
|
||||
@ -313,7 +307,7 @@ static void cleanup_crtc(data_t *data, igt_output_t *output)
|
||||
igt_display_commit(display);
|
||||
}
|
||||
|
||||
void test_sprite_rotation(data_t *data)
|
||||
static void test_sprite_rotation(data_t *data)
|
||||
{
|
||||
igt_display_t *display = &data->display;
|
||||
igt_output_t *output;
|
||||
@ -355,7 +349,7 @@ void test_sprite_rotation(data_t *data)
|
||||
}
|
||||
|
||||
|
||||
void test_primary_rotation(data_t *data)
|
||||
static void test_primary_rotation(data_t *data)
|
||||
{
|
||||
igt_display_t *display = &data->display;
|
||||
igt_output_t *output;
|
||||
|
Loading…
x
Reference in New Issue
Block a user