Skip to content
Snippets Groups Projects
Select Git revision
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-testing default
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
31 results

amdgpu_kms.c

  • Guenter Roeck's avatar
    af8baf15
    drm/amdgpu: Use less generic enum definitions · af8baf15
    Guenter Roeck authored
    
    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: bce23e00 ("drm/amdgpu: add NGG parameters")
    Cc: Christian König <christian.koenig@amd.com>
    Cc: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    af8baf15
    History
    drm/amdgpu: Use less generic enum definitions
    Guenter Roeck authored
    
    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: bce23e00 ("drm/amdgpu: add NGG parameters")
    Cc: Christian König <christian.koenig@amd.com>
    Cc: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>