summaryrefslogtreecommitdiff
path: root/src/sna/sna_display_fake.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-03-07 10:12:14 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-03-07 10:12:14 +0000
commit1b8fc8715598e7bf756ccfa99a6da59bab48c2a0 (patch)
tree5daeb89fdb756130bb3be78965ac76f6dedbebf7 /src/sna/sna_display_fake.c
parent5f1c2b3b8bb062a4574e5114b09a33b7e4f0c811 (diff)
sna: Disambiguate sna_crtc_resize()
sna_crtc_resize() operates upon the whole configuration rather than a single crtc like the other sna_crtc_* so rename it to make it distinct. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_display_fake.c')
-rw-r--r--src/sna/sna_display_fake.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sna/sna_display_fake.c b/src/sna/sna_display_fake.c
index 775810a2..b8723a38 100644
--- a/src/sna/sna_display_fake.c
+++ b/src/sna/sna_display_fake.c
@@ -248,7 +248,7 @@ migrate_dirty_tracking(struct sna *sna, PixmapPtr old_front)
}
static Bool
-sna_crtc_resize(ScrnInfoPtr scrn, int width, int height)
+sna_mode_resize(ScrnInfoPtr scrn, int width, int height)
{
struct sna *sna = to_sna(scrn);
ScreenPtr screen = scrn->pScreen;
@@ -298,15 +298,15 @@ sna_crtc_resize(ScrnInfoPtr scrn, int width, int height)
return TRUE;
}
-static const xf86CrtcConfigFuncsRec sna_crtc_config_funcs = {
- sna_crtc_resize
+static const xf86CrtcConfigFuncsRec sna_mode_funcs = {
+ sna_mode_resize
};
bool sna_mode_fake_init(struct sna *sna)
{
ScrnInfoPtr scrn = sna->scrn;
- xf86CrtcConfigInit(scrn, &sna_crtc_config_funcs);
+ xf86CrtcConfigInit(scrn, &sna_mode_funcs);
if (!sna_crtc_fake(sna))
return false;