[PATCH] drm/radeon: don't init gpuvm if accel is disabled

Oded Gabbay oded.gabbay at amd.com
Wed Jan 28 23:46:29 PST 2015



On 01/28/2015 09:41 PM, Alex Deucher wrote:
> If acceleration is disabled, it does not make sense
> to init gpuvm since nothing will use it.  Moreover,
> if radeon_vm_init() gets called it uses accel to try
> and clear the pde tables, etc. which results in a bug.
>
> Bug:
> https://bugs.freedesktop.org/show_bug.cgi?id=88786
>
> Signed-off-by: Alex Deucher<alexander.deucher at amd.com>
> Cc:stable at vger.kernel.org
Alex,
What is accel ?
Is there a situation where accel is disabled and HSA should work ? e.g. headless 
mode ?

If so, we need gpuvm for local memory.

	Oded


More information about the dri-devel mailing list