[Bug 250522] After upgrading to 12.2-BETA3 and mesa-dri-20.2.0_1 OpenCL (clover) stopped working

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250522

--- Comment #9 from [email protected] ---
> Try upgrading only kernel (keep COMPAT_FREEBSD12 from GENERIC) but leave userland (base and ports) intact, so it's easy to go back even without bectl(8).

drm-current-kmod fails to build:

--- amdgpu_dm_pp_smu.o ---
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_3/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c:948:48:
error: incompatible pointer types assigning to 'enum pp_smu_status (*)(struct
pp_smu *, bool)' (aka 'enum pp_smu_status (*)(struct pp_smu *, _Bool)') from
'enum pp_smu_status (struct pp_smu *, BOOLEAN)' (aka 'enum pp_smu_status
(struct pp_smu *, unsigned char)') [-Werror,-Wincompatible-pointer-types]
                funcs->nv_funcs.set_pstate_handshake_support =
pp_nv_set_pstate_handshake_support;
                                                             ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** [amdgpu_dm_pp_smu.o] Error code 1

I think I must upgrade /usr/include/sys too, which I do not want to do ;)
Unless there is another way

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.