[Intel-gfx] [PATCH 02/16] drm/i915: Move out non-display related calls from display/modeset init/cleanup

Souza, Jose jose.souza at intel.com
Mon Oct 15 23:51:42 UTC 2018


On Mon, 2018-10-15 at 12:14 +0100, Chris Wilson wrote:
> Quoting José Roberto de Souza (2018-10-12 22:52:04)
> > i915_load_modeset_init() and intel_modeset_cleanup() was
> > initializing
> > and cleaning up things that is not related to display or modeset.
> > This changes will make easy initialize driver without display
> > block.
> 
> Still broken, as the display must reserve it's portion of the GTT
> before
> i915_gem_init.


Hi Chris

I did not found any calls to this functions:

i915_gem_info_add_obj()
i915_gem_object_create()
i915_gem_gtt_reserve()
i915_gem_gtt_insert()
i915_vma_insert()

before the i915_gem_init() call, I even added dump_stack() in those
functions but still did got any call before i915_gem_init(), could
explain more?
All of this running with drm-tip with display enabled.

Thanks

> -Chris


More information about the Intel-gfx mailing list