<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/arm, branch v6.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v6.4</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v6.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2023-03-17T14:57:17Z</updated>
<entry>
<title>drm/arm/hdlcd: Use devm_platform_ioremap_resource()</title>
<updated>2023-03-17T14:57:17Z</updated>
<author>
<name>Yang Li</name>
<email>yang.lee@linux.alibaba.com</email>
</author>
<published>2023-03-14T08:02:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=06bc8c80cba8347c3f459d276cfbd75ea0bbb6d1'/>
<id>urn:sha1:06bc8c80cba8347c3f459d276cfbd75ea0bbb6d1</id>
<content type='text'>
According to commit 7945f929f1a7 ("drivers: provide
devm_platform_ioremap_resource()"), convert platform_get_resource(),
devm_ioremap_resource() to a single call to Use
devm_platform_ioremap_resource(), as this is exactly what this function
does.

Since 'struct platform_device *pdev = to_platform_device(drm-&gt;dev)',
'drm-&gt;dev' is equivalent to 'pdev-&gt;deva'.

Signed-off-by: Yang Li &lt;yang.lee@linux.alibaba.com&gt;
Acked-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt;
Signed-off-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230314080231.20212-1-yang.lee@linux.alibaba.com
</content>
</entry>
<entry>
<title>drm/arm/malidp: Use devm_platform_get_and_ioremap_resource()</title>
<updated>2023-03-17T14:56:49Z</updated>
<author>
<name>Yang Li</name>
<email>yang.lee@linux.alibaba.com</email>
</author>
<published>2023-03-14T08:02:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=345e4b32e6eaed023742a46badc7e47ad5fb8c4f'/>
<id>urn:sha1:345e4b32e6eaed023742a46badc7e47ad5fb8c4f</id>
<content type='text'>
According to commit 890cc39a8799 ("drivers: provide
devm_platform_get_and_ioremap_resource()"), convert
platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Since 'struct platform_device *pdev = to_platform_device(dev)',
'pdev-&gt;dev' is equivalent to 'dev'.

Signed-off-by: Yang Li &lt;yang.lee@linux.alibaba.com&gt;
Acked-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt;
Signed-off-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230314080231.20212-2-yang.lee@linux.alibaba.com
</content>
</entry>
<entry>
<title>arm/malidp: Use GEM DMA fbdev emulation</title>
<updated>2023-03-14T16:07:47Z</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2023-03-13T15:51:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=497cc665edad0de8a0f3832cc7148f4468d99d59'/>
<id>urn:sha1:497cc665edad0de8a0f3832cc7148f4468d99d59</id>
<content type='text'>
Use the fbdev emulation that is optimized for DMA helpers. Avoids
possible shadow buffering and makes the code simpler.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230313155138.20584-4-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>arm/hdlcd: Use GEM DMA fbdev emulation</title>
<updated>2023-03-14T16:07:47Z</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2023-03-13T15:51:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9ff7705fe35ccdb02d7d32694942afe8531dfba6'/>
<id>urn:sha1:9ff7705fe35ccdb02d7d32694942afe8531dfba6</id>
<content type='text'>
Use the fbdev emulation that is optimized for DMA helpers. Avoids
possible shadow buffering and makes the code simpler.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230313155138.20584-3-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/arm/malidp: use sysfs_emit in show function callback</title>
<updated>2023-02-03T13:05:33Z</updated>
<author>
<name>Deepak R Varma</name>
<email>drv@mailo.com</email>
</author>
<published>2023-01-27T20:51:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8094d717c7eb940830ff6f47a771c9be28bf43f0'/>
<id>urn:sha1:8094d717c7eb940830ff6f47a771c9be28bf43f0</id>
<content type='text'>
According to Documentation/filesystems/sysfs.rst, the show() callback
function of kobject attributes should strictly use sysfs_emit() instead
of sprintf() family functions.
Issue identified using the device_attr_show.cocci Coccinelle script.

Signed-off-by: Deepak R Varma &lt;drv@mailo.com&gt;
Signed-off-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/Y9Q5Tt8c9WBDxeyV@ubun2204.myguest.virtualbox.org
</content>
</entry>
<entry>
<title>drm/arm/komeda: Remove unnecessary include statements for drm_crtc_helper.h</title>
<updated>2023-01-18T08:25:30Z</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2023-01-16T13:12:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e3b63718827880731e83208f90e80240da0303e0'/>
<id>urn:sha1:e3b63718827880731e83208f90e80240da0303e0</id>
<content type='text'>
Several source files include drm_crtc_helper.h without needing it or
only to get its transitive include statements; leading to unnecessary
compile-time dependencies.

Drop drm_crtc_helper.h where possible.

v2:
	* update commit message (Sam)

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Acked-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230116131235.18917-5-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm: Include &lt;linux/of.h&gt; where needed</title>
<updated>2023-01-13T12:18:35Z</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2023-01-11T13:01:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fb28b3f0ecb2393307e5618adb331be5e0f44006'/>
<id>urn:sha1:fb28b3f0ecb2393307e5618adb331be5e0f44006</id>
<content type='text'>
Include &lt;linux/of.h&gt; in source files that need it. Some of DRM's
source code gets OF header via drm_crtc_helper.h and &lt;linux/fb.h&gt;,
which can leed to unnecessary recompilation.

In drm_modes.c, add a comment on the reason for still including
&lt;linux/fb.h&gt;. The header file is required to get KHZ2PICOS(). The
macro is part of the UAPI headers, so it cannot be moved to a less
prominent location.

v2:
	* include &lt;linux/of.h&gt; in komeda_drv.c (kernel test robot)

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Acked-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt; # komeda
Acked-by: Maxime Ripard &lt;maxime@cerno.tech&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230111130206.29974-3-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/arm/hdlcd: use new debugfs device-centered functions</title>
<updated>2023-01-06T19:15:08Z</updated>
<author>
<name>Maíra Canal</name>
<email>mcanal@igalia.com</email>
</author>
<published>2022-12-26T15:50:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2e3ab8a6994f265bbd4dbd00448b84548f18464c'/>
<id>urn:sha1:2e3ab8a6994f265bbd4dbd00448b84548f18464c</id>
<content type='text'>
Replace the use of drm_debugfs_create_files() with the new
drm_debugfs_add_files() function, which center the debugfs files
management on the drm_device instead of drm_minor. Moreover, remove the
debugfs_init hook and add the debugfs files directly on hdlcd_drm_bind(),
before drm_dev_register().

Signed-off-by: Maíra Canal &lt;mcanal@igalia.com&gt;
Acked-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt;
Signed-off-by: Maíra Canal &lt;mairacanal@riseup.net&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20221226155029.244355-4-mcanal@igalia.com
</content>
</entry>
<entry>
<title>drm/arm/malidp: remove calls to drm_mode_config_cleanup()</title>
<updated>2022-11-16T10:33:45Z</updated>
<author>
<name>Danilo Krummrich</name>
<email>dakr@redhat.com</email>
</author>
<published>2022-10-26T15:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f574f3772cdda0adacce0bff03ba59f754d7d42e'/>
<id>urn:sha1:f574f3772cdda0adacce0bff03ba59f754d7d42e</id>
<content type='text'>
drm_mode_config_init() simply calls drmm_mode_config_init(), hence
cleanup is automatically handled through registering
drm_mode_config_cleanup() with drmm_add_action_or_reset().

While at it, get rid of the deprecated drm_mode_config_init() and
replace it with drmm_mode_config_init() directly.

Signed-off-by: Danilo Krummrich &lt;dakr@redhat.com&gt;
Signed-off-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20221026155934.125294-6-dakr@redhat.com
</content>
</entry>
<entry>
<title>drm/arm/malidp: plane: use drm managed resources</title>
<updated>2022-11-16T10:33:44Z</updated>
<author>
<name>Danilo Krummrich</name>
<email>dakr@redhat.com</email>
</author>
<published>2022-10-26T15:59:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3ad510343812ee2500ffe4ae7a891f302f543cf3'/>
<id>urn:sha1:3ad510343812ee2500ffe4ae7a891f302f543cf3</id>
<content type='text'>
Use drm managed resource allocation (drmm_universal_plane_alloc()) in
order to get rid of the explicit destroy hook in struct drm_plane_funcs.

Signed-off-by: Danilo Krummrich &lt;dakr@redhat.com&gt;
Signed-off-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20221026155934.125294-5-dakr@redhat.com
</content>
</entry>
</feed>
