<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pm24.git/drivers/gpu/drm/hisilicon, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.kobert.dev/pm24.git/atom/drivers/gpu/drm/hisilicon?h=master</id>
<link rel='self' href='https://git.kobert.dev/pm24.git/atom/drivers/gpu/drm/hisilicon?h=master'/>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/'/>
<updated>2024-12-01T23:12:43Z</updated>
<entry>
<title>Get rid of 'remove_new' relic from platform driver struct</title>
<updated>2024-12-01T23:12:43Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2024-12-01T23:12:43Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=e70140ba0d2b1a30467d4af6bcfe761327b9ec95'/>
<id>urn:sha1:e70140ba0d2b1a30467d4af6bcfe761327b9ec95</id>
<content type='text'>
The continual trickle of small conversion patches is grating on me, and
is really not helping.  Just get rid of the 'remove_new' member
function, which is just an alias for the plain 'remove', and had a
comment to that effect:

  /*
   * .remove_new() is a relic from a prototype conversion of .remove().
   * New drivers are supposed to implement .remove(). Once all drivers are
   * converted to not use .remove_new any more, it will be dropped.
   */

This was just a tree-wide 'sed' script that replaced '.remove_new' with
'.remove', with some care taken to turn a subsequent tab into two tabs
to make things line up.

I did do some minimal manual whitespace adjustment for places that used
spaces to line things up.

Then I just removed the old (sic) .remove_new member function, and this
is the end result.  No more unnecessary conversion noise.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drm/hisilicon/hibmc: Use video aperture helpers</title>
<updated>2024-10-14T13:28:47Z</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2024-09-30T13:03:03Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=239af7de8f23ce757bd8081f5e8aca18e505868e'/>
<id>urn:sha1:239af7de8f23ce757bd8081f5e8aca18e505868e</id>
<content type='text'>
DRM's aperture functions have long been implemented as helpers
under drivers/video/ for use with fbdev. Avoid the DRM wrappers by
calling the video functions directly.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Cc: Xinliang Liu &lt;xinliang.liu@linaro.org&gt;
Cc: Tian Tao &lt;tiantao6@hisilicon.com&gt;
Cc: Xinwei Kong &lt;kong.kongxinwei@hisilicon.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Yongqin Liu &lt;yongqin.liu@linaro.org&gt;
Cc: John Stultz &lt;jstultz@google.com&gt;
Acked-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240930130921.689876-6-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/hisilicon/hibmc: Run DRM default client setup</title>
<updated>2024-09-26T07:31:28Z</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2024-09-24T07:13:04Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=677a7cf28695f6dbd7bd5abfb512d823dff1946b'/>
<id>urn:sha1:677a7cf28695f6dbd7bd5abfb512d823dff1946b</id>
<content type='text'>
Call drm_client_setup() to run the kernel's default client setup
for DRM. Set fbdev_probe in struct drm_driver, so that the client
setup can start the common fbdev client.

The hibmc driver specifies a preferred color mode of 32. As this
is the default if no format has been given, leave it out entirely.

v5:
- select DRM_CLIENT_SELECTION

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Cc: Xinliang Liu &lt;xinliang.liu@linaro.org&gt;
Cc: Tian Tao &lt;tiantao6@hisilicon.com&gt;
Cc: Xinwei Kong &lt;kong.kongxinwei@hisilicon.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Yongqin Liu &lt;yongqin.liu@linaro.org&gt;
Cc: John Stultz &lt;jstultz@google.com&gt;
Acked-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-67-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/hisilicon/kirin: Run DRM default client setup</title>
<updated>2024-09-26T06:27:58Z</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2024-09-24T07:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=21f71431892da02e7ce2dea3511b2bfb64d1d496'/>
<id>urn:sha1:21f71431892da02e7ce2dea3511b2bfb64d1d496</id>
<content type='text'>
Call drm_client_setup() to run the kernel's default client setup
for DRM. Set fbdev_probe in struct drm_driver, so that the client
setup can start the common fbdev client.

The kirin driver specifies a preferred color mode of 32. As this
is the default if no format has been given, leave it out entirely.

v5:
- select DRM_CLIENT_SELECTION

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Cc: Xinliang Liu &lt;xinliang.liu@linaro.org&gt;
Cc: Tian Tao &lt;tiantao6@hisilicon.com&gt;
Cc: Xinwei Kong &lt;kong.kongxinwei@hisilicon.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Yongqin Liu &lt;yongqin.liu@linaro.org&gt;
Cc: John Stultz &lt;jstultz@google.com&gt;
Acked-by: John Stultz &lt;jstultz@google.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-14-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/hisilicon: Remove unused delarations</title>
<updated>2024-08-13T14:22:43Z</updated>
<author>
<name>Zhang Zekun</name>
<email>zhangzekun11@huawei.com</email>
</author>
<published>2024-08-12T12:35:43Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=b7ecc44a1b0427d8c71fe2e2d46c4a8dd6e6f64d'/>
<id>urn:sha1:b7ecc44a1b0427d8c71fe2e2d46c4a8dd6e6f64d</id>
<content type='text'>
hibmc_mm_init() has been removed since commit 28645ae064d1
("drm/hisilicon/hibmc: Remove hibmc_ttm.c"), but remain the declaration
untouched in the header files. So, let's remove this unused declaration.

Signed-off-by: Zhang Zekun &lt;zhangzekun11@huawei.com&gt;
Reviewed-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240812123543.64300-1-zhangzekun11@huawei.com
</content>
</entry>
<entry>
<title>drm/hisilicon/hibmc: convert to struct drm_edid</title>
<updated>2024-05-27T12:31:18Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani.nikula@intel.com</email>
</author>
<published>2024-05-14T12:55:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=ff2a391349afcf62e99897de9bfd854ecf9d21b8'/>
<id>urn:sha1:ff2a391349afcf62e99897de9bfd854ecf9d21b8</id>
<content type='text'>
Prefer the struct drm_edid based functions for reading the EDID and
updating the connector.

Reviewed-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/386e3a64efbdd61c3eaed3f49ea9c3ebd4fcd41d.1715691257.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/hisilicon/kirin: Allow build with COMPILE_TEST=y</title>
<updated>2024-05-08T19:03:25Z</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2024-04-08T17:04:16Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=8c59c8709e3039e31174ee4941d5ac69d81ffbb0'/>
<id>urn:sha1:8c59c8709e3039e31174ee4941d5ac69d81ffbb0</id>
<content type='text'>
Allow kirin to be built with COMPILE_TEST=y for greater
coverage. Builds fine on x86/x86_64 at least.

Cc: Xinliang Liu &lt;xinliang.liu@linaro.org&gt;
Cc: Tian Tao &lt;tiantao6@hisilicon.com&gt;
Cc: Xinwei Kong &lt;kong.kongxinwei@hisilicon.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Yongqin Liu &lt;yongqin.liu@linaro.org&gt;
Cc: John Stultz &lt;jstultz@google.com&gt;
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240408170426.9285-12-ville.syrjala@linux.intel.com
Acked-by: John Stultz &lt;jstultz@google.com&gt;
</content>
</entry>
<entry>
<title>drm/hisilicon/kirin: Fix MASK(32) on 32bit architectures</title>
<updated>2024-05-08T19:03:16Z</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2024-04-08T17:04:15Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=6d46a50934c84f9db9502a8265617ffc621c407b'/>
<id>urn:sha1:6d46a50934c84f9db9502a8265617ffc621c407b</id>
<content type='text'>
BIT(32) is illegal when sizeof(long)==4. Use BIT_ULL(32)
instead.

Cc: Xinliang Liu &lt;xinliang.liu@linaro.org&gt;
Cc: Tian Tao &lt;tiantao6@hisilicon.com&gt;
Cc: Xinwei Kong &lt;kong.kongxinwei@hisilicon.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Yongqin Liu &lt;yongqin.liu@linaro.org&gt;
Cc: John Stultz &lt;jstultz@google.com&gt;
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240408170426.9285-11-ville.syrjala@linux.intel.com
Acked-by: John Stultz &lt;jstultz@google.com&gt;
</content>
</entry>
<entry>
<title>drm/hisilicon/kirin: Fix 64bit divisions</title>
<updated>2024-05-08T19:03:05Z</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2024-04-08T17:04:14Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=e34a7238bd530941ea96da74343541db7b1568d8'/>
<id>urn:sha1:e34a7238bd530941ea96da74343541db7b1568d8</id>
<content type='text'>
Use the appropriate 64bit division helpers to make the code
build on 32bit architectures.

Cc: Xinliang Liu &lt;xinliang.liu@linaro.org&gt;
Cc: Tian Tao &lt;tiantao6@hisilicon.com&gt;
Cc: Xinwei Kong &lt;kong.kongxinwei@hisilicon.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Yongqin Liu &lt;yongqin.liu@linaro.org&gt;
Cc: John Stultz &lt;jstultz@google.com&gt;
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240408170426.9285-10-ville.syrjala@linux.intel.com
Acked-by: John Stultz &lt;jstultz@google.com&gt;
</content>
</entry>
<entry>
<title>drm/hisilicon/kirin: Include linux/io.h for readl()/writel()</title>
<updated>2024-05-08T19:02:52Z</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2024-04-08T17:04:13Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=4a7fe0576e936b7ef8220698132c183410fb1ede'/>
<id>urn:sha1:4a7fe0576e936b7ef8220698132c183410fb1ede</id>
<content type='text'>
Include linux/io.h for readl()/writel().

When built on x86_64 w/ COMPILE_TEST=y:
../drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h:93:16: error: implicit declaration of function ‘readl’ [-Werror=implicit-function-declaration]
   93 |         orig = readl(addr);
      |                ^~~~~
../drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h:96:9: error: implicit declaration of function ‘writel’ [-Werror=implicit-function-declaration]
   96 |         writel(tmp, addr);
      |         ^~~~~~

Cc: Xinliang Liu &lt;xinliang.liu@linaro.org&gt;
Cc: Tian Tao &lt;tiantao6@hisilicon.com&gt;
Cc: Xinwei Kong &lt;kong.kongxinwei@hisilicon.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Yongqin Liu &lt;yongqin.liu@linaro.org&gt;
Cc: John Stultz &lt;jstultz@google.com&gt;
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240408170426.9285-9-ville.syrjala@linux.intel.com
Acked-by: John Stultz &lt;jstultz@google.com&gt;
</content>
</entry>
</feed>
