mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/drm: use libdisplay-info to parse EDID
This commit is contained in:
parent
40117e1e0d
commit
35da997001
8 changed files with 34 additions and 57 deletions
|
|
@ -11,7 +11,7 @@ struct wlr_drm_connector;
|
|||
int32_t calculate_refresh_rate(const drmModeModeInfo *mode);
|
||||
enum wlr_output_mode_aspect_ratio get_picture_aspect_ratio(const drmModeModeInfo *mode);
|
||||
// Returns manufacturer based on pnp id
|
||||
const char *get_pnp_manufacturer(uint16_t code);
|
||||
const char *get_pnp_manufacturer(const char code[static 3]);
|
||||
// Populates the make/model/phys_{width,height} of output from the edid data
|
||||
void parse_edid(struct wlr_drm_connector *conn, size_t len, const uint8_t *data);
|
||||
const char *drm_connector_status_str(drmModeConnection status);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue