[igt-dev] [PATCH i-g-t] lib/ioctl_wrappers: fix confising comment

Dominik Grzegorzek dominik.grzegorzek at intel.com
Tue Oct 27 12:13:46 UTC 2020


I belive that the word 'mappable' was added there by pasting it
from doc comment above. It is quite confising.

Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek at intel.com>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
---
 lib/ioctl_wrappers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index edac50f0..06431ce6 100644
--- a/lib/ioctl_wrappers.c
+++ b/lib/ioctl_wrappers.c
@@ -1007,7 +1007,7 @@ uint64_t gem_mappable_aperture_size(void)
  * Feature test macro to query the kernel for the global gpu aperture size.
  * This is the area available for the kernel to perform address translations.
  *
- * Returns: The mappable gtt address space size.
+ * Returns: The gtt address space size.
  */
 uint64_t gem_global_aperture_size(int fd)
 {
-- 
2.20.1



More information about the igt-dev mailing list