mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +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> (cherry picked from commit9145ce0bb2) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41402>
This commit is contained in:
parent
d24a306681
commit
38ed6879bf
2 changed files with 2 additions and 2 deletions
|
|
@ -2304,7 +2304,7 @@
|
|||
"description": "pan/kmod: Fix minor version number check for USER_MMIO_OFFSET ioctl",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "590ad83b980e37e87bab6bcc7574e154729066ec",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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