]> 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)
commitabd14b008f67b8a75b9f60df32e63da71cfb888b
tree724a42dbafc7b7391ffbe4623ab67bddb4092e21
parentbe571edfda639cf6d534f7bf5c5b0ce3b333528d
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