diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2014-08-05 10:51:18 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-08-08 11:43:58 -0400 |
commit | 692ef70c016b5035ad1942ccc2bc4040aa290044 (patch) | |
tree | aa62c873455a25007d1b2cfb9756afbe90039c4e /drivers/gpu/drm/i915/intel_display.c | |
parent | efd814b73cfcf4ed1cb561561d8df6daccb3ceb6 (diff) |
drm/i915: clean up PPGTT checking logic
sanitize_enable_ppgtt is the function that checks all the conditions,
honoring a forced ppgtt status or doing auto-detect as necessary. Just
make sure it returns the right value in all cases and use that in the
macros instead of the confusing intel_enable_ppgtt() function.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
[danvet: Don't reenable full ppgtt through the backdoor.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
0 files changed, 0 insertions, 0 deletions