drm/amdgpu: Bring bo creation in line with radeon driver (v2)
authorNils Holland <nholland@tisys.org>
Sun, 22 Jan 2017 19:15:27 +0000 (20:15 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 17:20:36 +0000 (12:20 -0500)
commita2e2f29970aa1e53219e3499382c41d61c8959f8
tree724a42dbafc7b7391ffbe4623ab67bddb4092e21
parent08f1408c474fb558098112c9143433e159145d8e
drm/amdgpu: Bring bo creation in line with radeon driver (v2)

Add the bo creation changes that have been done to the radeon driver in
recent times, e.g. disable GTT WC on 32 bit because it is broken there,
and also disable it generally (and print a warning message) when
CONFIG_X86_PAT is not set.

v2: agd: fix warning in defined(CONFIG_X86) && !defined(CONFIG_X86_PAT)
    case

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Nils Holland <nholland@tisys.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c