mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/drm: use pnp.ids to fetch EDID data
This commit is contained in:
parent
d75b4d8e86
commit
eec95e3d5e
8 changed files with 63 additions and 77 deletions
|
|
@ -10,6 +10,8 @@ struct wlr_drm_connector;
|
|||
// Calculates a more accurate refresh rate (mHz) than what mode itself provides
|
||||
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);
|
||||
// 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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue