]> git.baikalelectronics.ru Git - kernel.git/commit
drm/drivers: add support for using the arch wc mapping API.
authorDave Airlie <airlied@redhat.com>
Mon, 24 Oct 2016 05:37:48 +0000 (15:37 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 26 Oct 2016 06:48:01 +0000 (16:48 +1000)
commit7cf321d118a825c1541b43ca45294126fd474efa
treeb9e21afa3815a4609610b16c6ae8402f363fb804
parent8ef4227615e158faa4ee85a1d6466782f7e22f2f
drm/drivers: add support for using the arch wc mapping API.

This fixes a regression in all these drivers since the cache
mode tracking was fixed for mixed mappings. It uses the new
arch API to add the VRAM range to the PAT mapping tracking
tables.

Fixes: 87744ab3832 (mm: fix cache mode tracking in vm_insert_mixed())
Reviewed-by: Christian König <christian.koenig@amd.com>.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/ast/ast_ttm.c
drivers/gpu/drm/cirrus/cirrus_ttm.c
drivers/gpu/drm/mgag200/mgag200_ttm.c
drivers/gpu/drm/nouveau/nouveau_ttm.c
drivers/gpu/drm/radeon/radeon_object.c