<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/gpu/drm/hisilicon, branch v6.12.80</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.12.80</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.12.80'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2025-08-28T14:31:13+00:00</updated>
<entry>
<title>drm/hisilicon/hibmc: fix the hibmc loaded failed bug</title>
<updated>2025-08-28T14:31:13+00:00</updated>
<author>
<name>Baihan Li</name>
<email>libaihan@huawei.com</email>
</author>
<published>2025-08-13T09:42:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a4f1b9c57092c48bdc7958abd23403ccaed437b2'/>
<id>urn:sha1:a4f1b9c57092c48bdc7958abd23403ccaed437b2</id>
<content type='text'>
[ Upstream commit 93a08f856fcc5aaeeecad01f71bef3088588216a ]

When hibmc loaded failed, the driver use hibmc_unload to free the
resource, but the mutexes in mode.config are not init, which will
access an NULL pointer. Just change goto statement to return, because
hibnc_hw_init() doesn't need to free anything.

Fixes: b3df5e65cc03 ("drm/hibmc: Drop drm_vblank_cleanup")
Signed-off-by: Baihan Li &lt;libaihan@huawei.com&gt;
Signed-off-by: Yongbang Shi &lt;shiyongbang@huawei.com&gt;
Reviewed-by: Dmitry Baryshkov &lt;dmitry.baryshkov@oss.qualcomm.com&gt;
Link: https://lore.kernel.org/r/20250813094238.3722345-5-shiyongbang@huawei.com
Signed-off-by: Dmitry Baryshkov &lt;dmitry.baryshkov@oss.qualcomm.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/hisilicon/hibmc: fix the i2c device resource leak when vdac init failed</title>
<updated>2025-08-28T14:31:13+00:00</updated>
<author>
<name>Baihan Li</name>
<email>libaihan@huawei.com</email>
</author>
<published>2025-08-13T09:42:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d85331542e98765060459e15e17cdfecd2c34ec0'/>
<id>urn:sha1:d85331542e98765060459e15e17cdfecd2c34ec0</id>
<content type='text'>
[ Upstream commit e5f48bfa2ae0806d5f51fb8061afc619a73599a7 ]

Currently the driver missed to clean the i2c adapter when vdac init failed.
It may cause resource leak.

Fixes: a0d078d06e516 ("drm/hisilicon: Features to support reading resolutions from EDID")
Signed-off-by: Baihan Li &lt;libaihan@huawei.com&gt;
Signed-off-by: Yongbang Shi &lt;shiyongbang@huawei.com&gt;
Reviewed-by: Dmitry Baryshkov &lt;dmitry.baryshkov@oss.qualcomm.com&gt;
Link: https://lore.kernel.org/r/20250813094238.3722345-2-shiyongbang@huawei.com
Signed-off-by: Dmitry Baryshkov &lt;dmitry.baryshkov@oss.qualcomm.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/hisilicon/hibmc: refactored struct hibmc_drm_private</title>
<updated>2025-08-28T14:31:13+00:00</updated>
<author>
<name>Baihan Li</name>
<email>libaihan@huawei.com</email>
</author>
<published>2025-01-03T09:38:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c8029abe45c513ad8552dc710d9e68c697daf7cb'/>
<id>urn:sha1:c8029abe45c513ad8552dc710d9e68c697daf7cb</id>
<content type='text'>
[ Upstream commit 587013d72c1a217ced9f42a9a08c8013052cabfc ]

Refactored struct hibmc_drm_private to separate VGA module from
generic struct.

Signed-off-by: Baihan Li &lt;libaihan@huawei.com&gt;
Signed-off-by: Yongbang Shi &lt;shiyongbang@huawei.com&gt;
Reviewed-by: Dmitry Baryshkov &lt;dmitry.baryshkov@linaro.org&gt;
Reviewed-by: Tian Tao &lt;tiantao6@hisilicon.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20250103093824.1963816-5-shiyongbang@huawei.com
Signed-off-by: Dmitry Baryshkov &lt;dmitry.baryshkov@linaro.org&gt;
Stable-dep-of: e5f48bfa2ae0 ("drm/hisilicon/hibmc: fix the i2c device resource leak when vdac init failed")
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/hisilicon: Remove unused delarations</title>
<updated>2024-08-13T14:22:43+00:00</updated>
<author>
<name>Zhang Zekun</name>
<email>zhangzekun11@huawei.com</email>
</author>
<published>2024-08-12T12:35:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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:18+00:00</updated>
<author>
<name>Jani Nikula</name>
<email>jani.nikula@intel.com</email>
</author>
<published>2024-05-14T12:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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:25+00:00</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2024-04-08T17:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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:16+00:00</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2024-04-08T17:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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:05+00:00</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2024-04-08T17:04:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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:52+00:00</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2024-04-08T17:04:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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>
<entry>
<title>drm/fbdev-generic: Convert to fbdev-ttm</title>
<updated>2024-05-02T09:33:32+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2024-04-19T08:29:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=aae4682e5d66c1e1dc181fa341652e037237f144'/>
<id>urn:sha1:aae4682e5d66c1e1dc181fa341652e037237f144</id>
<content type='text'>
Only TTM-based drivers use fbdev-generic. Rename it to fbdev-ttm and
change the symbol infix from _generic_ to _ttm_. Link the source file
into TTM helpers, so that it is only build if TTM-based drivers have
been selected. Select DRM_TTM_HELPER for loongson.

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/20240419083331.7761-43-tzimmermann@suse.de
</content>
</entry>
</feed>
