mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-06 13:29:45 -05:00
backend/drm: don't insert duplicate custom modes, fix refresh rate
This commit is contained in:
parent
6d4bfa3226
commit
ff6c4f80b2
3 changed files with 11 additions and 4 deletions
|
|
@ -7,7 +7,7 @@
|
|||
#include <xf86drmMode.h>
|
||||
|
||||
// Calculates a more accurate refresh rate (mHz) than what mode itself provides
|
||||
int32_t calculate_refresh_rate(drmModeModeInfo *mode);
|
||||
int32_t calculate_refresh_rate(const drmModeModeInfo *mode);
|
||||
// Populates the make/model/phys_{width,height} of output from the edid data
|
||||
void parse_edid(struct wlr_output *restrict output, size_t len,
|
||||
const uint8_t *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue