All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] lib/ioctl_wrappers: Fix function descriptions
@ 2017-06-23 13:21 Radoslaw Szwichtenberg
  2017-06-23 14:01 ` [PATCH i-g-t v2] " Radoslaw Szwichtenberg
  2017-06-28 10:40 ` [PATCH i-g-t] lib/ioctl_wrappers: Fix some comments Arkadiusz Hiler
  0 siblings, 2 replies; 5+ messages in thread
From: Radoslaw Szwichtenberg @ 2017-06-23 13:21 UTC (permalink / raw)
  To: intel-gfx

Function description incorrectly stated that gem_context_get_param
and gem_context_set_param were freeing hw context.

Signed-off-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
---
 lib/ioctl_wrappers.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index 0816a7b..a78ff47 100644
--- a/lib/ioctl_wrappers.c
+++ b/lib/ioctl_wrappers.c
@@ -977,8 +977,8 @@ int __gem_context_get_param(int fd, struct local_i915_gem_context_param *p)
  * @fd: open i915 drm file descriptor
  * @p: i915 hw context parameter
  *
- * This is a wraps the CONTEXT_GET_PARAM ioctl, which is used to free a hardware
- * context. Not that similarly to gem_set_caching() this wrapper calls
+ * This is a wraps the CONTEXT_GET_PARAM ioctl, which is used to get a context
+ * parameter. Not that similarly to gem_set_caching() this wrapper calls
  * igt_require() internally to correctly skip on kernels and platforms where hw
  * context parameter support is not available.
  */
@@ -1003,8 +1003,8 @@ int __gem_context_set_param(int fd, struct local_i915_gem_context_param *p)
  * @fd: open i915 drm file descriptor
  * @p: i915 hw context parameter
  *
- * This is a wraps the CONTEXT_SET_PARAM ioctl, which is used to free a hardware
- * context. Not that similarly to gem_set_caching() this wrapper calls
+ * This is a wraps the CONTEXT_SET_PARAM ioctl, which is used to set a context
+ * parameter. Not that similarly to gem_set_caching() this wrapper calls
  * igt_require() internally to correctly skip on kernels and platforms where hw
  * context parameter support is not available.
  */
-- 
2.9.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-28 11:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-23 13:21 [PATCH i-g-t] lib/ioctl_wrappers: Fix function descriptions Radoslaw Szwichtenberg
2017-06-23 14:01 ` [PATCH i-g-t v2] " Radoslaw Szwichtenberg
2017-06-28 10:47   ` Arkadiusz Hiler
2017-06-28 10:40 ` [PATCH i-g-t] lib/ioctl_wrappers: Fix some comments Arkadiusz Hiler
2017-06-28 11:25   ` Szwichtenberg, Radoslaw

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.