drm/radeon: Don't try to enable write-combining without PAT
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 4 Feb 2015 01:19:51 +0000 (10:19 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Feb 2015 17:01:33 +0000 (12:01 -0500)
commita53fa43873b88bad15a2eb1f01dc5efa689625ce
tree2513dcac20515684498f4530f8c834866125e480
parent082452e125fe27a9f43add2269dfa2341fb71d30
drm/radeon: Don't try to enable write-combining without PAT

Doing so can cause things to become slow.

Print a warning at compile time and an informative message at runtime in
that case.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88758
Cc: stable@vger.kernel.org
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_object.c