> On May 2, 2026, at 11:42 AM, Alexandre Courbot <[email protected]>
>> +
>> +/// PRAMIN aperture manager.
>> +///
>> +/// Call [`Pramin::get_window()`] to acquire exclusive PRAMIN access.
>> +#[pin_data]
>> +pub(crate) struct Pramin {
>> + bar: Arc<Devres<Bar0>>,
>
> The HRT series [1] will allow you to greatly simplify all this by
> storing a `&'a Bar0` directly in this structure. It will most likely
> land this cycle, so I think it's a good idea to proactively depend on
> them. It should apply cleanly (modulo the Tyr patches IIRC, but you can
> skip them if you don't build the driver) on top of `drm-rust-next` - on
> top of which this should also be rebased anyway.
>
> [1] https://lore.kernel.org/all/[email protected]/
>
I tried to apply it but had a lot of conflict.
Danilo, do you have a tree of these patches somewhere that applies on
drm-rust-next?
thanks,
-
Joel Fernandes