intel: Fix a typo in intel_device_info.c:has_get_tiling

The structs are of equal size and both ioctls were added at the same
time, so the functionality is equivalent, but it's nonetheless the
incorrect type being passed.

Signed-off-by: tranquillitycodes@proton.me
Fixes: 762e601f77
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31974>
This commit is contained in:
itycodes
2024-11-05 04:12:33 +01:00
parent 07ca1bbb05
commit 10c92cbd39
+1 -1
View File
@@ -491,7 +491,7 @@ has_get_tiling(int fd)
struct drm_i915_gem_get_tiling get_tiling = {
.handle = gem_create.handle,
};
ret = intel_ioctl(fd, DRM_IOCTL_I915_GEM_SET_TILING, &get_tiling);
ret = intel_ioctl(fd, DRM_IOCTL_I915_GEM_GET_TILING, &get_tiling);
struct drm_gem_close close = {
.handle = gem_create.handle,