[PATCH 7/7] drm/i915: Take punit lock when modifying punit settings

2017-01-08 Thread Andy Shevchenko
On Sun, 2017-01-08 at 14:44 +0100, Hans de Goede wrote: > Make sure the punit i2c bus is not in use when we send a request to > the punit by calling iosf_mbi_punit_lock() / iosf_mbi_punit_unlock() > around punit write accesses. > But should not i915 drm eventually share the same iosf_mbi driver?

[PATCH 7/7] drm/i915: Take punit lock when modifying punit settings

2017-01-08 Thread Hans de Goede
Hi, On 08-01-17 16:34, Andy Shevchenko wrote: > On Sun, 2017-01-08 at 14:44 +0100, Hans de Goede wrote: >> Make sure the punit i2c bus is not in use when we send a request to >> the punit by calling iosf_mbi_punit_lock() / iosf_mbi_punit_unlock() >> around punit write accesses. >> > > But should n

[PATCH 7/7] drm/i915: Take punit lock when modifying punit settings

2017-01-08 Thread Hans de Goede
Make sure the punit i2c bus is not in use when we send a request to the punit by calling iosf_mbi_punit_lock() / iosf_mbi_punit_unlock() around punit write accesses. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=155241 Signed-off-by: Hans de Goede Tested-by: tagorereddy --- drivers/gpu/d