]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 20:14:17 +0000 (12:14 -0800)
commit6084d9f5193ccae102f767d394913a6c0043f882
treecc605b607af6c9d31b28a1b191607beab14b385b
parent05e7fb4f1ab1840c84ebb3e840d8bcce90b283cd
ttm: Clear the ttm page allocated from high memory zone correctly

commit ac207ed2471150e06af0afc76e4becc701fa2733 upstream.

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>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/ttm/ttm_page_alloc.c