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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 7 12:58:53 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250522

--- Comment #9 from shamaz.mazum at gmail.com ---
> 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.


More information about the freebsd-x11 mailing list