]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: only allow scatter/gather display with DC
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Jan 2018 19:56:49 +0000 (14:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:39 +0000 (14:17 -0500)
commit2c9c178b7d76efd9933e709c16063e65135aca74
treed8eaccd10e457b157964d160991536a3bb5ce258
parent5d43be0ccbc2f94aa872dfbe37c969510b8c77d6
drm/amdgpu: only allow scatter/gather display with DC

Check if DC is enabled before allowing scanout buffers
to be pinned in system memory.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c