[PATCH 12/48] staging: etnaviv: avoid lockdep circular dependency warning

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Sep 25 05:20:32 PDT 2015


On Fri, Sep 25, 2015 at 01:57:24PM +0200, Lucas Stach wrote:
> +	/* We must never runtime-PM resume holding struct_mutex */
> +	if (drm && WARN_ON_ONCE(mutex_is_locked(&drm->struct_mutex)))
> +		return -EDEADLK;

This actually needs dropping from the patch - and we'll rely on lockdep
to validate this.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.


More information about the dri-devel mailing list