• John Harrison's avatar
    drm/i915: Rename 'flags' to 'dispatch_flags' for better code reading · 8e004efc
    John Harrison authored
    There is a flags word that is passed through the execbuffer code path all the
    way from initial decoding of the user parameters down to the very final dispatch
    buffer call. It is simply called 'flags'. Unfortuantely, there are many other
    flags words floating around in the same blocks of code. Even more once the GPU
    scheduler arrives.
    
    This patch makes it more obvious exactly which flags word is which by renaming
    'flags' to 'dispatch_flags'. Note that the bit definitions for this flags word
    already have an 'I915_DISPATCH_' prefix on them and so are not quite so
    ambiguous.
    
    OTC-Jira: VIZ-1587
    Signed-off-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
    [danvet: Resolve conflict with Chris' rework of the bb parsing.]
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    8e004efc
i915_gem_execbuffer.c 45.1 KB