summaryrefslogtreecommitdiff
path: root/bin/nv_rsfunc.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2015-06-07 22:40:26 +0200
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 12:37:24 +1000
commit305d2e4af7691cab0be85150bd8cb2848305d738 (patch)
tree5cf894216746f7fb370bfc1721185bf8c586d64a /bin/nv_rsfunc.h
parentc758c5691a32a56a20f560e892c6f5fd228cd899 (diff)
downloadnouveau-305d2e4af7691cab0be85150bd8cb2848305d738.tar.gz
pm: allow to configure domains instead of simple counters
Configuring counters from the userspace require the kernel to handle some logic related to performance counters. Basically, it has to find a free slot to assign a counter, to handle extra counting modes like B4/B6 and it must return and error when it can't configure a counter. In my opinion, the kernel should not handle all of that logic but it should only write the configuration sent by the userspace without checking anything. In other words, it should overwrite the configuration even if it's already counting and do not return any errors. This patch allows the userspace to configure a domain instead of separate counters. This has the advantage to move all of the logic to the userspace. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'bin/nv_rsfunc.h')
0 files changed, 0 insertions, 0 deletions