aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-01-23 17:05:03 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:19:03 -0500
commit3fa203af4bd0c7eb09f21af34d3a68e08583feac (patch)
treeee356facc91fa93e90c271cb1684862deadb93f6 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parent367e66870e9cc20b867b11c4484ae83336efcb67 (diff)
downloadlinux-3fa203af4bd0c7eb09f21af34d3a68e08583feac.tar.gz
linux-3fa203af4bd0c7eb09f21af34d3a68e08583feac.tar.bz2
linux-3fa203af4bd0c7eb09f21af34d3a68e08583feac.zip
drm/amdgpu: set DRIVER_ATOMIC flag early
The atomic debugfs stuff gets created in drm_dev_alloc() but this gets called before we've enumerated all of our IPs, so move the DRIVER_ATOMIC flag setting to fix that. Since DRIVER_ATOMIC is a driver flag it's currently global to the driver so setting it affects all GPUs driven by the driver. Unfortunately, not all GPUs support atomic. Warn the user if that is the case. This is the same as our current behavior, but at least the atomic debugfs stuff gets created now. Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions