]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Don't report local memory size
authorOded Gabbay <oded.gabbay@gmail.com>
Tue, 5 May 2015 08:15:07 +0000 (11:15 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 7 May 2015 14:37:52 +0000 (17:37 +0300)
commit42e08c78360e58516b6ac8af18a75a494f2967a2
tree05ff0a2a37772271272887512318ef1debb2bc0a
parent1e5ec956a057585adaa1365615c82810b2f5356f
drm/amdkfd: Don't report local memory size

This patch sets the local memory size that is reported to userspace to 0.
This is done to make sure that userspace won't try to allocate local memory
for HSA.

As long as amdkfd doesn't support allocating local memory for HSA,
we need this patch.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Cc: stable@vger.kernel.org
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c