• Tomasz Figa's avatar
    drm/rockchip: Clear interrupt status bits before enabling · fa374107
    Tomasz Figa authored
    The enable register only masks the raw status bits to signal CPU
    interrupt only for enabled interrupts. The status bits are activated
    regardless of the enable register. This means that we might have an old
    interrupt event queued, which we are not interested in. To avoid getting
    a spurious interrupt signalled, we have to clear the old bit before we
    update the enable register.
    Signed-off-by: default avatarTomasz Figa <tfiga@chromium.org>
    fa374107
rockchip_drm_vop.c 41.9 KB