drm/amd/amdgpu: Set DRIVER_MODESET feature flag at build time
authorFrank Binns <frank.binns@imgtec.com>
Fri, 24 Jun 2016 17:15:17 +0000 (18:15 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 19:02:07 +0000 (15:02 -0400)
commit7056bb5c8203c472aab0fa87dee79cfd87429ad2
treec4a39664662dddc3b9700c17b582c56223a5c304
parentee7fd9575734f434ad541a5985687f195a2ff853
drm/amd/amdgpu: Set DRIVER_MODESET feature flag at build time

This flag was being set unconditionally at runtime so just set it at
compile time instead.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Frank Binns <frank.binns@imgtec.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c