Re: [PATCH RFC 02/13] drm/gma500: Publish the Cedarview SGX as an auxiliary device

From: Gabriel Gama

Date: Thu Nov 12 2026 - 23:25:01 EST


Hi Joseph, I noticed that gma_sgx_set_irq_handler() updates sgx_data
before publishing the new handler pointer.
During unregister, could an in-flight IRQ still be using the previous
handler while sgx_data is being changed?
Would it make sense to clear the handler first, call
synchronize_irq(), and only then clear sgx_data?

Otherwise, the auxiliary-device approach looks interesting, especially
for keeping the display and render responsibilities separate

ty,
gabriel