]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix the exported always on CU bitmap
authorFlora Cui <Flora.Cui@amd.com>
Tue, 20 Jun 2017 03:08:35 +0000 (11:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Jun 2017 16:43:49 +0000 (12:43 -0400)
commitd189777c30776fc5ed738d85ba2cb8870ebd49ea
tree7029e2119b04924de3deb34f90dbb8e75f0ebfd8
parent6bc0702041695fd0574c100a22cd11c7b3d9bb74
drm/amdgpu: Fix the exported always on CU bitmap

Newer asics with 4 SEs are not able to fit the entire bitmask in the
original field, use an array instead.

v2: keep cu_ao_mask for backward compatibility.

Signed-off-by: Flora Cui <Flora.Cui@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
include/uapi/drm/amdgpu_drm.h