]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/ttm: fix start page for huge page check in ttm_put_pages()
authorChristian König <christian.koenig@amd.com>
Tue, 2 Apr 2019 07:29:35 +0000 (09:29 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 11 Apr 2019 15:01:23 +0000 (10:01 -0500)
commitac1e516d5a4c56bf0cb4a3dfc0672f689131cfd4
tree6a51b0f79166f6db9ae9f7f38630d14c7ced809a
parenta66477b0efe511d98dde3e4aaeb189790e6f0a39
drm/ttm: fix start page for huge page check in ttm_put_pages()

The first page entry is always the same with itself.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_page_alloc.c