]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b87439a5ab28d92de782bef0c43a971da725312
tree724a42dbafc7b7391ffbe4623ab67bddb4092e21
parent8553075e0ae503b689fd67f6305c2fe6c9711d11
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