]> 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)
commit24ba7a6763ade8a5f5921c1b0a0a5d7ed6a88948
treeb9e21afa3815a4609610b16c6ae8402f363fb804
parent804517e072b2b963d55b4e3894a1fbf9ddc5beef
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: 8a4f4da834e (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