diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2015-06-07 22:40:19 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-08-28 12:37:23 +1000 |
commit | 6161834e83500cd950667c1ebb6d4506ee3b0fca (patch) | |
tree | 00d926a1baba442c3717c34f3ea128aa8cb9cb24 /drm/nouveau/include/nvif/class.h | |
parent | 021e8fed44ce8bd006a23cee01957dbc5d7fda9e (diff) | |
download | nouveau-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.h | 7 |
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]; }; |