OSDN Git Service

drm/ttm: move populated state into page flags
authorDave Airlie <airlied@redhat.com>
Tue, 15 Sep 2020 01:47:19 +0000 (11:47 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 15 Sep 2020 23:36:19 +0000 (09:36 +1000)
commit3312be8f6fc8a8dc7cef01986dbd436eab7af0f7
tree5b328e5a94f1d16c67813fc7c4ad09f5bb9a641a
parent3a4ab168a5df5c9532763ac26cde5c2ad06ca1e5
drm/ttm: move populated state into page flags

Just use the top bit of page flags to store the populated state.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200915024007.67163-8-airlied@gmail.com
include/drm/ttm/ttm_tt.h