diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-13 21:41:36 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-14 06:53:02 +0100 |
commit | 981aafe797f25aca4977a22f271d387b7fb4ae63 (patch) | |
tree | d3d8296aef53a10db3ed7f78fe80fd0ef737b3b7 /src/sna/sna.h | |
parent | b27837d5372facde0f9f69eb8df664d2798f0911 (diff) |
sna: Enable TearFree by default for systems with PSR
Panel Self-Refresh requires us to avoid frontbuffer rendering in order
to be power efficient. This is a job for TearFree!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index d0bb6556..a532b4af 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -419,6 +419,7 @@ struct sna { bool sna_mode_pre_init(ScrnInfoPtr scrn, struct sna *sna); bool sna_mode_fake_init(struct sna *sna, int num_fake); +bool sna_mode_wants_tear_free(struct sna *sna); void sna_mode_adjust_frame(struct sna *sna, int x, int y); extern void sna_mode_discover(struct sna *sna); extern void sna_mode_check(struct sna *sna); |