diff options
| author | Guenter Roeck <[email protected]> | 2017-05-04 06:49:18 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-05-05 22:14:32 +0000 |
| commit | af8baf1518d8b3d086ac6d11d8f6acd57e9cab99 (patch) | |
| tree | b54d4089f08c2b31be05316d36e76357ff795bd7 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | drm/amdgpu/gfx9: derive tile pipes from golden settings (diff) | |
| download | kernel-af8baf1518d8b3d086ac6d11d8f6acd57e9cab99.tar.gz kernel-af8baf1518d8b3d086ac6d11d8f6acd57e9cab99.zip | |
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 <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
