]> git.baikalelectronics.ru Git - kernel.git/commit
ttm: Clear the ttm page allocated from high memory zone correctly
authorZhao Yakui <yakui.zhao@intel.com>
Tue, 13 Nov 2012 18:31:55 +0000 (18:31 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 15 Nov 2012 23:56:35 +0000 (09:56 +1000)
commitaa0a68bc4965565f3a92f92aa64c936af82cffb7
tree348d030301979c30286c895a84f11a8e398a1761
parentc15b844ef0c756ea7c9d5670573cd9b193a188b7
ttm: Clear the ttm page allocated from high memory zone correctly

The TTM page can be allocated from high memory. In such case it is
wrong to use the page_address(page) as the virtual address for the high memory
page.

bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=50241

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_page_alloc.c