summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-05-03 23:49:18 -0700
committerAlex Deucher <alexander.deucher@amd.com>2017-05-05 18:14:32 -0400
commitaf8baf1518d8b3d086ac6d11d8f6acd57e9cab99 (patch)
treeb54d4089f08c2b31be05316d36e76357ff795bd7 /drivers/gpu/drm/amd/powerplay
parentad7d0ff3e79a100a24b66e8908a45402c20c3685 (diff)
drm/amdgpu: Use less generic enum definitions
alpha:allmodconfig fails to build as follows. drivers/gpu/drm/amd/amdgpu/amdgpu.h:1006:2: error: expected identifier before '(' token drivers/gpu/drm/amd/amdgpu/amdgpu.h:1011:28: error: 'NGG_BUF_MAX' undeclared here The problem is not really the enum definition of NGG_BUF_MAX but PARAM, which happens to be defined differently for alpha and a couple of other architectures. Use less generic defines for NGG enums to solve the problem. Fixes: bce23e00f3369 ("drm/amdgpu: add NGG parameters") Cc: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay')
0 files changed, 0 insertions, 0 deletions