igt_device

igt_device

Functions

Description

Functions

igt_device_set_master ()

void
igt_device_set_master (int fd);

igt_device_drop_master ()

void
igt_device_drop_master (int fd);

igt_device_get_card_index ()

int
igt_device_get_card_index (int fd);

Parameters

fd

the device

 

Returns

Index (N) of /dev/dri/cardN or /dev/dri/renderDN corresponding with fd.

Types and Values