summaryrefslogtreecommitdiff
path: root/src/radeon_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r--src/radeon_display.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index 685431f5..f6f24105 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -2206,6 +2206,11 @@ radeon_crtc_mode_fixup(xf86CrtcPtr crtc, DisplayModePtr mode,
}
static void
+radeon_crtc_mode_prepare(xf86CrtcPtr crtc)
+{
+}
+
+static void
radeon_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
DisplayModePtr adjusted_mode, int x, int y)
{
@@ -2241,6 +2246,11 @@ radeon_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
RADEONUnblank(pScrn);
}
+static void
+radeon_crtc_mode_commit(xf86CrtcPtr crtc)
+{
+}
+
void radeon_crtc_load_lut(xf86CrtcPtr crtc)
{
ScrnInfoPtr pScrn = crtc->scrn;
@@ -2307,7 +2317,9 @@ static const xf86CrtcFuncsRec radeon_crtc_funcs = {
.save = NULL, /* XXX */
.restore = NULL, /* XXX */
.mode_fixup = radeon_crtc_mode_fixup,
+ .prepare = radeon_crtc_mode_prepare,
.mode_set = radeon_crtc_mode_set,
+ .commit = radeon_crtc_mode_commit,
.gamma_set = radeon_crtc_gamma_set,
.lock = radeon_crtc_lock,
.unlock = radeon_crtc_unlock,
@@ -2356,6 +2368,11 @@ radeon_mode_fixup(xf86OutputPtr output, DisplayModePtr mode,
}
static void
+radeon_mode_prepare(xf86OutputPtr output)
+{
+}
+
+static void
radeon_mode_set(xf86OutputPtr output, DisplayModePtr mode,
DisplayModePtr adjusted_mode)
{
@@ -2366,6 +2383,11 @@ radeon_mode_set(xf86OutputPtr output, DisplayModePtr mode,
// RADEONInitOutputRegisters(pScrn, save, mode, pRADEONEnt->pOutput[0], );
}
+static void
+radeon_mode_commit(xf86OutputPtr output)
+{
+}
+
static xf86OutputStatus
radeon_detect(xf86OutputPtr output)
{
@@ -2416,7 +2438,9 @@ static const xf86OutputFuncsRec radeon_output_funcs = {
.restore = radeon_restore,
.mode_valid = radeon_mode_valid,
.mode_fixup = radeon_mode_fixup,
+ .prepare = radeon_mode_prepare,
.mode_set = radeon_mode_set,
+ .commit = radeon_mode_commit,
.detect = radeon_detect,
.get_modes = radeon_get_modes,
.destroy = radeon_destroy