summaryrefslogtreecommitdiff
path: root/drm/nouveau/include/nvif/class.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2015-06-07 22:40:19 +0200
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 12:37:23 +1000
commit6161834e83500cd950667c1ebb6d4506ee3b0fca (patch)
tree00d926a1baba442c3717c34f3ea128aa8cb9cb24 /drm/nouveau/include/nvif/class.h
parent021e8fed44ce8bd006a23cee01957dbc5d7fda9e (diff)
downloadnouveau-6161834e83500cd950667c1ebb6d4506ee3b0fca.tar.gz
pm: change signal iter to u16
16 bits is large enough to store the maximum number of signals available for one domain (i.e. 256). Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau/include/nvif/class.h')
-rw-r--r--drm/nouveau/include/nvif/class.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drm/nouveau/include/nvif/class.h b/drm/nouveau/include/nvif/class.h
index cf2af89b7..871247c65 100644
--- a/drm/nouveau/include/nvif/class.h
+++ b/drm/nouveau/include/nvif/class.h
@@ -259,14 +259,15 @@ struct nvif_perfmon_query_domain_v0 {
__u8 id;
__u8 counter_nr;
__u8 iter;
- __u32 signal_nr;
+ __u16 signal_nr;
+ __u8 pad05[2];
};
struct nvif_perfmon_query_signal_v0 {
__u8 version;
__u8 domain;
- __u8 pad02[2];
- __u32 iter;
+ __u16 iter;
+ __u8 pad03[4];
char name[64];
};