diff options
author | Jesse Barnes <jbarnes@jbarnes-mobile.amr.corp.intel.com> | 2007-03-06 14:35:50 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@jbarnes-mobile.amr.corp.intel.com> | 2007-03-06 14:35:50 -0800 |
commit | 2a1cd107a593630001799d6cd9e72c64222553b2 (patch) | |
tree | 83dccb31c220d8748aa759538f444eaf54ce215c /src | |
parent | 703c6fc0142ffc600285c13fe6dafecf988c0a1d (diff) |
Add prepare/commit hooks to output and crtc func table
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_display.c | 24 |
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 |