• Daniel Vetter's avatar
    drm/i915/bdw: Add a context and an engine pointers to the ringbuffer · 0c7dd53b
    Daniel Vetter authored
    Any given ringbuffer is unequivocally tied to one context and one engine.
    By setting the appropriate pointers to them, the ringbuffer struct holds
    all the infromation you might need to submit a workload for processing,
    Execlists style.
    
    v2: Drop ring->ctx since that looks terribly ill-defined for legacy
    ringbuffer submission.
    
    Signed-off-by: Oscar Mateo <oscar.mateo@intel.com> (v1)
    Acked-by: Damien Lespiau <damien.lespiau@intel.com> (v2)
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    0c7dd53b
intel_lrc.c 4.6 KB