mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/nouveau/pm: reorganize the nvif interface
This commit introduces the NVIF_IOCTL_NEW_V0_PERFMON class which will be used in order to query domains, signals and sources. This separates the querying and the counting interface. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
committed by
Ben Skeggs
parent
a78ce96f96
commit
5a0bc4b5ae
@@ -49,8 +49,9 @@ struct nvif_ioctl_new_v0 {
|
||||
__u64 token;
|
||||
__u32 handle;
|
||||
/* these class numbers are made up by us, and not nvidia-assigned */
|
||||
#define NVIF_IOCTL_NEW_V0_PERFCTR 0x0000ffff
|
||||
#define NVIF_IOCTL_NEW_V0_CONTROL 0x0000fffe
|
||||
#define NVIF_IOCTL_NEW_V0_PERFMON 0x0000ffff
|
||||
#define NVIF_IOCTL_NEW_V0_PERFCTR 0x0000fffe
|
||||
#define NVIF_IOCTL_NEW_V0_CONTROL 0x0000fffd
|
||||
__u32 oclass;
|
||||
__u8 data[]; /* class data (class.h) */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user