summaryrefslogtreecommitdiffstats
path: root/src/xprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xprivate.h')
-rw-r--r--src/xprivate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xprivate.h b/src/xprivate.h
index bc8791e..c10832e 100644
--- a/src/xprivate.h
+++ b/src/xprivate.h
@@ -47,8 +47,9 @@ public:
void addMissingEdidResolutions();
bool getEdid(RROutput outputId, unsigned char *buffer, unsigned long *size);
bool readEdid(OutputInfo* output);
- void addMissingModesFromExtBlock(XRRScreenResources *res, RROutput outputId, unsigned char *data);
- void addMissingModesFromDtd(XRRScreenResources *res, RROutput outputId, unsigned char *data);
+ int getMaxTmdsClockMhz(unsigned char *data);
+ void addMissingModesFromExtBlock(XRRScreenResources *res, RROutput outputId, unsigned char *data,unsigned int maxClockMhz);
+ void addMissingModesFromDtd(XRRScreenResources *res, RROutput outputId, unsigned char *data, unsigned int maxClockMhz);
XRRModeInfo* getPreferredMode(const OutputInfo *oi, XRRModeInfo *fallback = nullptr) const;
QList<RRMode> getOutputModeForResolution(const XRROutputInfo *output, unsigned int width, unsigned int height) const;
QList<RRMode> getOutputModeForResolution(const XRROutputInfo *output, const QSize &resolution) const;