Searched hist:"0 f3804360dd4f88332b9c0b2d7cb4c1f30893cc7" (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
H A D | nv40.c | diff 0f3804360dd4f88332b9c0b2d7cb4c1f30893cc7 Sun Jun 07 15:40:26 CDT 2015 Samuel Pitoiset <samuel.pitoiset@gmail.com> drm/nouveau/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>
|
H A D | gf100.c | diff 0f3804360dd4f88332b9c0b2d7cb4c1f30893cc7 Sun Jun 07 15:40:26 CDT 2015 Samuel Pitoiset <samuel.pitoiset@gmail.com> drm/nouveau/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>
|
H A D | priv.h | diff 0f3804360dd4f88332b9c0b2d7cb4c1f30893cc7 Sun Jun 07 15:40:26 CDT 2015 Samuel Pitoiset <samuel.pitoiset@gmail.com> drm/nouveau/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>
|
H A D | base.c | diff 0f3804360dd4f88332b9c0b2d7cb4c1f30893cc7 Sun Jun 07 15:40:26 CDT 2015 Samuel Pitoiset <samuel.pitoiset@gmail.com> drm/nouveau/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>
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | ioctl.h | diff 0f3804360dd4f88332b9c0b2d7cb4c1f30893cc7 Sun Jun 07 15:40:26 CDT 2015 Samuel Pitoiset <samuel.pitoiset@gmail.com> drm/nouveau/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>
|
H A D | class.h | diff 0f3804360dd4f88332b9c0b2d7cb4c1f30893cc7 Sun Jun 07 15:40:26 CDT 2015 Samuel Pitoiset <samuel.pitoiset@gmail.com> drm/nouveau/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>
|