Re: [PATCH] drm/radeon: reject bo creation from ioctl when the gpu is disabled

2017-04-27 Thread Christian König
Am 27.04.2017 um 12:57 schrieb Julien Isorce: Like done in radeon_cs_ioctl. In particular it avoids mesa to call map/unmap: radeon_create_bo ioctl(DRM_RADEON_GEM_CREATE) -> ok ioctl(DRM_RADEON_GEM_VA-MAP) radeon_destroy_bo ioctl(DRM_RADEON_GEM_VA-UNMAP) Encountered also cas

[PATCH] drm/radeon: reject bo creation from ioctl when the gpu is disabled

2017-04-27 Thread Julien Isorce
Like done in radeon_cs_ioctl. In particular it avoids mesa to call map/unmap: radeon_create_bo ioctl(DRM_RADEON_GEM_CREATE) -> ok ioctl(DRM_RADEON_GEM_VA-MAP) radeon_destroy_bo ioctl(DRM_RADEON_GEM_VA-UNMAP) Encountered also cases where the vm_manager succeeded to be enabled after