• Lucas Stach's avatar
    drm/etnaviv: move GPU active handling to bo pin/unpin · 5b223e94
    Lucas Stach authored
    The active count is used to check if the BO is idle, where idle is defined
    as not active on the GPU and all VM mappings and reference counts dropped
    to the initial state. As the idling of the mappings and references now only
    happens in the submit cleanup, the active state handling must be moved to
    the same location in order to keep the userspace semantics.
    Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
    5b223e94
etnaviv_gem_submit.c 14 KB