aboutsummaryrefslogtreecommitdiff
path: root/linux-core/nv50_output.h
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-06-27 01:16:36 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-06-27 01:16:36 +0200
commit701011224c048e064295ee12e8a02f7f66d4175a (patch)
tree41c4be9ad0ba52175c4c88e3f3651e5d77884972 /linux-core/nv50_output.h
parentd88616555d2d3abc118f77d5556e14dd1512272b (diff)
NV50: Implement DPMS.
Diffstat (limited to 'linux-core/nv50_output.h')
-rw-r--r--linux-core/nv50_output.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/nv50_output.h b/linux-core/nv50_output.h
index bdee2826..7a6f9c7e 100644
--- a/linux-core/nv50_output.h
+++ b/linux-core/nv50_output.h
@@ -49,6 +49,8 @@ struct nv50_output {
int (*validate_mode) (struct nv50_output *output, struct nouveau_hw_mode *mode);
int (*execute_mode) (struct nv50_output *output, bool disconnect);
int (*set_clock_mode) (struct nv50_output *output);
+ /* this is not a normal modeset call, it is a direct register write, so it's executed immediately */
+ int (*set_power_mode) (struct nv50_output *output, int mode);
bool (*detect) (struct nv50_output *output);
int (*destroy) (struct nv50_output *output);
};