<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/gpu/drm/kmb, branch v5.17.9</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v5.17.9</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v5.17.9'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2022-01-27T22:30:36+00:00</updated>
<entry>
<title>drm/kmb: Fix for build errors with Warray-bounds</title>
<updated>2022-01-27T22:30:36+00:00</updated>
<author>
<name>Anitha Chrisanthus</name>
<email>anitha.chrisanthus@intel.com</email>
</author>
<published>2022-01-27T18:45:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=43f2517955875be5d96b641fba33d73097fe3cd9'/>
<id>urn:sha1:43f2517955875be5d96b641fba33d73097fe3cd9</id>
<content type='text'>
This fixes the following build error

drivers/gpu/drm/kmb/kmb_plane.c: In function 'kmb_plane_atomic_disable':
drivers/gpu/drm/kmb/kmb_plane.c:165:34: error: array subscript 3 is above array bounds of 'struct layer_status[2]' [-Werror=array-bounds]
  165 |                 kmb-&gt;plane_status[plane_id].ctrl =
  LCD_CTRL_GL2_ENABLE;
  |                 ~~~~~~~~~~~~~~~~~^~~~~~~~~~
  In file included from drivers/gpu/drm/kmb/kmb_plane.c:17:
  drivers/gpu/drm/kmb/kmb_drv.h:61:41: note: while referencing 'plane_status'
  61 |         struct layer_status  plane_status[KMB_MAX_PLANES];
  |                                         ^~~~~~~~~~~~
  drivers/gpu/drm/kmb/kmb_plane.c:162:34: error: array subscript 2 is above array bounds of 'struct layer_status[2]' [-Werror=array-bounds]
  162 |  kmb-&gt;plane_status[plane_id].ctrl =  LCD_CTRL_GL1_ENABLE;
  |                 ~~~~~~~~~~~~~~~~~^~~~~~~~~~
  In file included from
  drivers/gpu/drm/kmb/kmb_plane.c:17:
  drivers/gpu/drm/kmb/kmb_drv.h:61:41: note: while referencing 'plane_status'
  61 |         struct layer_status  plane_status[KMB_MAX_PLANES];
  |
  ^~~~~~~~~~~~

Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display")
Signed-off-by: Anitha Chrisanthus &lt;anitha.chrisanthus@intel.com&gt;
Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20220127194227.2213608-1-anitha.chrisanthus@intel.com
</content>
</entry>
<entry>
<title>drm: Remove CONFIG_DRM_KMS_CMA_HELPER option</title>
<updated>2021-11-30T10:10:03+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2021-11-06T19:35:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=09717af7d13d63df141ae6e71686289989d17efd'/>
<id>urn:sha1:09717af7d13d63df141ae6e71686289989d17efd</id>
<content type='text'>
Link drm_fb_cma_helper.o into drm_cma_helper.ko if CONFIG_DRM_KMS_HELPER
has been set. Remove CONFIG_DRM_KMS_CMA_HELPER config option. Selecting
KMS helpers and CMA will now automatically enable CMA KMS helpers.

Some drivers' Kconfig files did not correctly select KMS or CMA helpers.
Fix this as part of the change.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20211106193509.17472-3-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>Merge drm/drm-next into drm-misc-next</title>
<updated>2021-11-18T08:36:39+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2021-11-18T08:36:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a713ca234ea9d946235ac7248995c5fddfd9e523'/>
<id>urn:sha1:a713ca234ea9d946235ac7248995c5fddfd9e523</id>
<content type='text'>
Backmerging from drm/drm-next for v5.16-rc1.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
</content>
</entry>
<entry>
<title>drm/kmb: Enable support for framebuffer console</title>
<updated>2021-10-27T21:33:49+00:00</updated>
<author>
<name>Anitha Chrisanthus</name>
<email>anitha.chrisanthus@intel.com</email>
</author>
<published>2021-10-06T23:27:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=099afadc533febb0ad789ee61eef41a3d5d8bab2'/>
<id>urn:sha1:099afadc533febb0ad789ee61eef41a3d5d8bab2</id>
<content type='text'>
Enable support for fbcon (framebuffer console).

v2: added missing static clk_enable
v3: removed module parameter, use fbdev_emulation instead. Use
preferred depth of 24 for color depth. (Thomas Z.)

Signed-off-by: Anitha Chrisanthus &lt;anitha.chrisanthus@intel.com&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20211019230719.789958-2-anitha.chrisanthus@intel.com
</content>
</entry>
<entry>
<title>drm/kmb: Enable ADV bridge after modeset</title>
<updated>2021-10-21T09:08:09+00:00</updated>
<author>
<name>Anitha Chrisanthus</name>
<email>anitha.chrisanthus@intel.com</email>
</author>
<published>2021-06-07T21:17:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=74056092ff415e7e20ce2544689b32ee811c4f0b'/>
<id>urn:sha1:74056092ff415e7e20ce2544689b32ee811c4f0b</id>
<content type='text'>
On KMB, ADV bridge must be programmed and powered on prior to
MIPI DSI HW initialization.

v2: changed to atomic_bridge_chain_enable (Sam)

Fixes: 98521f4d4b4c ("drm/kmb: Mipi DSI part of the display driver")
Co-developed-by: Edmund Dea &lt;edmund.j.dea@intel.com&gt;
Signed-off-by: Edmund Dea &lt;edmund.j.dea@intel.com&gt;
Signed-off-by: Anitha Chrisanthus &lt;anitha.chrisanthus@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20211019230719.789958-1-anitha.chrisanthus@intel.com
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>drm/kmb: Corrected typo in handle_lcd_irq</title>
<updated>2021-10-21T09:08:09+00:00</updated>
<author>
<name>Anitha Chrisanthus</name>
<email>anitha.chrisanthus@intel.com</email>
</author>
<published>2021-07-19T23:28:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=004d2719806fb8e355c1bccd538e82c04319d391'/>
<id>urn:sha1:004d2719806fb8e355c1bccd538e82c04319d391</id>
<content type='text'>
Check for Overflow bits for layer3 in the irq handler.

Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display")
Signed-off-by: Anitha Chrisanthus &lt;anitha.chrisanthus@intel.com&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20211013233632.471892-5-anitha.chrisanthus@intel.com
Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>drm/kmb: Disable change of plane parameters</title>
<updated>2021-10-21T09:08:08+00:00</updated>
<author>
<name>Edmund Dea</name>
<email>edmund.j.dea@intel.com</email>
</author>
<published>2021-10-06T23:03:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=982f8ad666a1123028a077b6b009871a0dc9df26'/>
<id>urn:sha1:982f8ad666a1123028a077b6b009871a0dc9df26</id>
<content type='text'>
Due to HW limitations, KMB cannot change height, width, or
pixel format after initial plane configuration.

v2: removed memset disp_cfg as it is already zero.

Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display")
Signed-off-by: Edmund Dea &lt;edmund.j.dea@intel.com&gt;
Signed-off-by: Anitha Chrisanthus &lt;anitha.chrisanthus@intel.com&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20211013233632.471892-4-anitha.chrisanthus@intel.com
Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>drm/kmb: Remove clearing DPHY regs</title>
<updated>2021-10-21T09:08:08+00:00</updated>
<author>
<name>Edmund Dea</name>
<email>edmund.j.dea@intel.com</email>
</author>
<published>2021-04-20T22:31:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=13047a092c6d3f23b7d684b5b3fe46b2b50423b9'/>
<id>urn:sha1:13047a092c6d3f23b7d684b5b3fe46b2b50423b9</id>
<content type='text'>
Don't clear the shared DPHY registers common to MIPI Rx and MIPI Tx during
DSI initialization since this was causing MIPI Rx reset. Rest of the
writes are bitwise, so will not affect Mipi Rx side.

Fixes: 98521f4d4b4c ("drm/kmb: Mipi DSI part of the display driver")
Signed-off-by: Edmund Dea &lt;edmund.j.dea@intel.com&gt;
Signed-off-by: Anitha Chrisanthus &lt;anitha.chrisanthus@intel.com&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20211013233632.471892-3-anitha.chrisanthus@intel.com
Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>drm/kmb: Limit supported mode to 1080p</title>
<updated>2021-10-21T09:08:08+00:00</updated>
<author>
<name>Anitha Chrisanthus</name>
<email>anitha.chrisanthus@intel.com</email>
</author>
<published>2021-01-08T22:34:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a79f40cccd4644c32f6d5ae1ccf091a262e1dc57'/>
<id>urn:sha1:a79f40cccd4644c32f6d5ae1ccf091a262e1dc57</id>
<content type='text'>
KMB only supports single resolution(1080p), this commit checks for
1920x1080x60 or 1920x1080x59 in crtc_mode_valid.
Also, modes with vfp &lt; 4 are not supported in KMB display. This change
prunes display modes with vfp &lt; 4.

v2: added vfp check

Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display")
Co-developed-by: Edmund Dea &lt;edmund.j.dea@intel.com&gt;
Signed-off-by: Edmund Dea &lt;edmund.j.dea@intel.com&gt;
Signed-off-by: Anitha Chrisanthus &lt;anitha.chrisanthus@intel.com&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Link:https://patchwork.freedesktop.org/patch/msgid/20211013233632.471892-2-anitha.chrisanthus@intel.com
Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>drm/kmb: Work around for higher system clock</title>
<updated>2021-10-21T09:08:08+00:00</updated>
<author>
<name>Anitha Chrisanthus</name>
<email>anitha.chrisanthus@intel.com</email>
</author>
<published>2020-12-15T19:13:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3e4c31e8f70251732529a10934355084c7fab0ac'/>
<id>urn:sha1:3e4c31e8f70251732529a10934355084c7fab0ac</id>
<content type='text'>
Use a different value for system clock offset in the
ppl/llp ratio calculations for clocks higher than 500 Mhz.

Fixes: 98521f4d4b4c ("drm/kmb: Mipi DSI part of the display driver")
Signed-off-by: Anitha Chrisanthus &lt;anitha.chrisanthus@intel.com&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20211013233632.471892-1-anitha.chrisanthus@intel.com
Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@linux.intel.com&gt;
</content>
</entry>
</feed>
