diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-20 00:33:06 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-12-03 09:35:27 +0100 |
commit | 99be1dfe06e56b6e32f522979e9cf354dad5dc2e (patch) | |
tree | 2097727ef4e142da54d9a83ca853457a05397a8c /drivers/gpu/drm/drm_agpsupport.c | |
parent | ecfe00d802d47af797f09cf8c88ad5ee7aa8d11b (diff) | |
download | talos-obmc-linux-99be1dfe06e56b6e32f522979e9cf354dad5dc2e.tar.gz talos-obmc-linux-99be1dfe06e56b6e32f522979e9cf354dad5dc2e.zip |
drm/i915: Move intel_init_pipe_control out of engine->init_hw
With this all the ->init_hw hooks really only set up hw state needed
to start the ring, all the software state setup and memory/buffer
allocations happen beforehand.
v2: We need to call intel_init_pipe_control after the ring init since
otherwise engine->dev is NULL and it falls over. Currently that's
now after the hw ring is enabled but a) we'll be fine as long as no
one submits a batch b) this will change soon.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Dave Gordon <david.s.gordon@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_agpsupport.c')
0 files changed, 0 insertions, 0 deletions