Userptr broken with the latest amdgpu driver

Yang, Philip Philip.Yang at amd.com
Mon Apr 8 20:59:44 UTC 2019


Hi Marek,

I guess you are using old kernel config with 5.x kernel, and the kernel 
config option CONFIG_HMM is missing because the dependency option 
CONFIG_ZONE_DEVICE is missing in old config file. Please update your 
kernel config file to enable option CONFIG_ZONE_DEVICE.

You should have this message in dmesg log:

"HMM_MIRROR kernel config option is not enabled, "
"add CONFIG_ZONE_DEVICE=y in config file to fix

Philip


On 2019-04-08 4:46 p.m., Marek Olšák wrote:
> Hi,
> 
> amdgpu_mn_register fails with -ENODEV in amdgpu_gem_userptr_ioctl.
> 
> The regression happened within the last 1-2 months.
> 
> Marek
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> 


More information about the amd-gfx mailing list