Now you confused me with two replies I forgot to reply to all... :))
On 20/07/2021 15:53, Jason Ekstrand wrote:
On Tue, Jul 20, 2021 at 3:25 AM Tvrtko Ursulin
<tvrtko.ursulin@xxxxxxxxxxxxxxx> wrote:
[snip]
+
static int __init i915_init(void)
{
bool use_kms = true;
int err;
+ i915_fully_loaded = false;
Ditto.
So, this is something I'm unclear on. I know that static memory gets
auto-initialized to zero but what happens if you unload and reload a
module? Is it re-initialized to zero? If it is then we can drop
this.
Well it's not in memory after it is unloaded so clearly it has to get
initialised by the module loader every time it loads it.
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx