drm/amdgpu: Use per-device driver_features to disable atomic
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 13 Sep 2018 16:31:47 +0000 (19:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 13 Sep 2018 18:24:06 +0000 (21:24 +0300)
commit351c4dbe4fae44b747dd97114a5983ec23a49f24
tree3d8f91bbb8fc3920c989fe576201b4ad6ef9377e
parent1feb64c49d7f2a46dc7b1e4c92c85ead2775395e
drm/amdgpu: Use per-device driver_features to disable atomic

Disable atomic on a per-device basis instead of for all devices.
Made possible by the new device.driver_features thing.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: "David (ChunMing) Zhou" <David1.Zhou@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Michel Dänzer <michel@daenzer.net>
Suggested-by: Michel Dänzer <michel@daenzer.net>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180913163147.27900-2-ville.syrjala@linux.intel.com
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c