mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
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:762e601f77Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31974> (cherry picked from commit10c92cbd39)
This commit is contained in:
parent
ee5ae8c717
commit
4962a83c21
2 changed files with 2 additions and 2 deletions
|
|
@ -1234,7 +1234,7 @@
|
|||
"description": "intel: Fix a typo in intel_device_info.c:has_get_tiling",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "762e601f776e7d692f49c328e526e6e2c3b14345",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue