summaryrefslogtreecommitdiff
path: root/lib/ioctl_wrappers.c
diff options
context:
space:
mode:
authorRadoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>2017-06-23 16:01:05 +0200
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2017-06-28 15:08:31 +0300
commitcec2d4a846c073b19ecff2c2eff917bf6c1cd7b8 (patch)
tree338c830df8a1fd837b313014ad3443ce498e7fc0 /lib/ioctl_wrappers.c
parent9120ee572f86ed6f3da088187043785d1da340c9 (diff)
lib/ioctl_wrappers: Fix function descriptions
Function description incorrectly stated that gem_context_get_param and gem_context_set_param were freeing hw context. v2: removed additional incorrect information Signed-off-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'lib/ioctl_wrappers.c')
-rw-r--r--lib/ioctl_wrappers.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index 0816a7b6..8e5ec888 100644
--- a/lib/ioctl_wrappers.c
+++ b/lib/ioctl_wrappers.c
@@ -977,10 +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
- * igt_require() internally to correctly skip on kernels and platforms where hw
- * context parameter support is not available.
+ * This is a wraps the CONTEXT_GET_PARAM ioctl, which is used to get a context
+ * parameter.
*/
void gem_context_get_param(int fd, struct local_i915_gem_context_param *p)
{
@@ -1003,10 +1001,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
- * igt_require() internally to correctly skip on kernels and platforms where hw
- * context parameter support is not available.
+ * This is a wraps the CONTEXT_SET_PARAM ioctl, which is used to set a context
+ * parameter.
*/
void gem_context_set_param(int fd, struct local_i915_gem_context_param *p)
{