Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/i915: Explicitly mark Global GTT address spaces
So far we have been relying on vm->file pointer being NULL to declare something GGTT. This has the unfortunate consequence that the default kernel context is also declared GGTT and interferes with the following patch which wants to instantiate VMA's and execute requests against the kernel context. Change the is_ggtt test to use an explicit flag in struct address_space to solve this issue. Note that the bit used is free since there is an alignment hole in the struct. Signed-off-by: Tvrtko Ursulin <[email protected]> Cc: Chris Wilson <[email protected]>
- Loading branch information