Re: [PATCH] drm/rockchip: vop2: Reset the AXI master in vop2_enable()

From: Cristian Ciocaltea

Date: Tue Dec 01 2026 - 18:29:08 EST


Hi,

On 12/2/26 12:42 AM, Tim Surber wrote:
> Hi Chaoyi,
>
> On 11/26/26 03:15, Chaoyi Chen wrote:
>> On 11/26/2026 4:45 AM, Tim Surber wrote:
>>> static void vop2_disable(struct vop2 *vop2)
>>> {
>>> - vop2_reset_assert_deassert(vop2, vop2->axi_rst);
>>> -
>>> rockchip_drm_dma_detach_device(vop2->drm, vop2->dev);
>>
>> This looks great. But what happens if you place
>> vop2_reset_assert_deassert() after rockchip_drm_dma_detach_device()?
>
> That works as well.
>
> Would you prefer it this way?

I also verified this approach with over 500 cycles of Tim's reproducer script,
as well as with manual modetests, and didn't notice regressions or visual issues.

I'd prefer it for keeping the reset in the disable path as initially intended
and leaving the enable sequence untouched.

Cristian