[PATCH v8 2/2] drm/tiny: Add driver for Sharp Memory LCD
Markus Elfring
Markus.Elfring at web.de
Wed Oct 2 08:56:42 UTC 2024
…
> +++ b/drivers/gpu/drm/tiny/sharp-memory.c
> @@ -0,0 +1,681 @@
…
> +static int sharp_memory_maintain_display(struct sharp_memory_device *smd)
> +{
…
> + u8 *tx_buffer = smd->tx_buffer;
> +
> + mutex_lock(&smd->tx_mutex);
…
> + mutex_unlock(&smd->tx_mutex);
> +
> + return ret;
> +}
…
Will development interests grow for the application of a statement
like “guard(mutex)(&smd->tx_mutex);”?
https://elixir.bootlin.com/linux/v6.12-rc1/source/include/linux/mutex.h#L201
Regards,
Markus
More information about the dri-devel
mailing list