Re: [PATCH v3 1/4] drm/imagination: don't gate the runtime PM callbacks on drm_dev_enter()

From: Ryan Brue

Date: Mon Nov 02 2026 - 12:39:53 EST


Hi Gyeyoung,

On 10/12/26 10:43 PM, Gyeyoung Baek wrote:
'lost' looks protected by reset_sem, but it's read here without the
lock. Shouldn't this at least be READ_ONCE()?
Thanks for looking, you're right. Lost isn't fully covered by reset_sem anyway, as pvr_mmu_flush_exec() marks the device lost without it, and the watchdog worker already reads it unlocked. I'll make it a READ_ONCE(), with a matching WRITE_ONCE() in pvr_device_lost() in the next revision.

Thanks again,
Ryan Brue