mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
pan/kmod: Fix minor version number check for USER_MMIO_OFFSET ioctl
It has been available in the Panthor KMD since 1.5
Fixes: 590ad83b98 ("panfrost: Use pan_image_test_modifier_with_format() to do our modifier check")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41274>
This commit is contained in:
parent
b64cd520f7
commit
9145ce0bb2
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ panthor_kmod_dev_create(int fd, uint32_t flags, drmVersionPtr version,
|
|||
}
|
||||
|
||||
/* Map the LATEST_FLUSH_ID register at device creation time. */
|
||||
if (version->version_major > 1 || version->version_minor >= 10) {
|
||||
if (version->version_major > 1 || version->version_minor >= 5) {
|
||||
struct drm_panthor_set_user_mmio_offset user_mmio_offset = {
|
||||
.offset = DRM_PANTHOR_USER_MMIO_OFFSET,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue