• Neil Roberts's avatar
    drm/i915: Add the predicate source registers to the register whitelist · f1f55cc0
    Neil Roberts authored
    The predicate source registers are needed to implement conditional
    rendering without stalling. The two source registers are used to load
    the previous values of the PS_DEPTH_COUNT register saved from
    PIPE_CONTROL commands. These can then be compared and used to set the
    predicate enable bit via the MI_PREDICATE command.
    
    The command parser version number is increased to 2 to make it easier
    to detect the new functionality in user space.
    Signed-off-by: default avatarNeil Roberts <neil@linux.intel.com>
    Reviewed-by: Brad Volkin <bradley.d.volkin@intel.com> (v1)
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    f1f55cc0
i915_cmd_parser.c 31.4 KB