linux/drivers/gpu/drm/amd
Nils Wallménius 50261151a1 drm/amdgpu: simplify allocation of scratch regs
The scratch regs are sequential so there's no need to keep
them in an array, we can just return the index of the first
free register + the base register. Also change the array
of bools for keeping track of the free regs to a bitfield.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Nils Wallménius <nils.wallmenius@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-01-27 11:13:32 -05:00
..
acp drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU 2016-05-25 09:44:15 -04:00
amdgpu drm/amdgpu: simplify allocation of scratch regs 2017-01-27 11:13:32 -05:00
amdkfd drm/amdkfd: fix improper return value on error 2017-01-16 17:34:47 +02:00
include drm/amdgpu: extend profiling mode. 2017-01-27 11:13:14 -05:00
powerplay drm/amdgpu: extend profiling mode. 2017-01-27 11:13:14 -05:00
scheduler drm/virtio: fix busid in a different way, allocate more vbufs. 2016-11-30 14:18:51 +10:00