diff mbox series

drm/rockchip: cdn-dp-core: add MODULE_FIRMWARE macro

Message ID 20210506092951.515813-1-pbrobinson@gmail.com (mailing list archive)
State New, archived
Headers show
Series drm/rockchip: cdn-dp-core: add MODULE_FIRMWARE macro | expand

Commit Message

Peter Robinson May 6, 2021, 9:29 a.m. UTC
The CDP DP component of the rockchip GPU driver requires firmware
so define MODULE_FIRMWARE for rockchip/dptx.bin so the details
are available in the module info.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 drivers/gpu/drm/rockchip/cdn-dp-core.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Heiko Stuebner May 28, 2021, 6:09 p.m. UTC | #1
On Thu, 6 May 2021 10:29:51 +0100, Peter Robinson wrote:
> The CDP DP component of the rockchip GPU driver requires firmware
> so define MODULE_FIRMWARE for rockchip/dptx.bin so the details
> are available in the module info.

Applied, thanks!

[1/1] drm/rockchip: cdn-dp-core: add MODULE_FIRMWARE macro
      commit: c0677e41a47fbb37c4ed7200e5c7f610a2ffbd4b

Best regards,
diff mbox series

Patch

diff --git a/drivers/gpu/drm/rockchip/cdn-dp-core.c b/drivers/gpu/drm/rockchip/cdn-dp-core.c
index a4a45daf93f2..661f26a458da 100644
--- a/drivers/gpu/drm/rockchip/cdn-dp-core.c
+++ b/drivers/gpu/drm/rockchip/cdn-dp-core.c
@@ -42,6 +42,7 @@ 
 #define CDN_FW_TIMEOUT_MS	(64 * 1000)
 #define CDN_DPCD_TIMEOUT_MS	5000
 #define CDN_DP_FIRMWARE		"rockchip/dptx.bin"
+MODULE_FIRMWARE(CDN_DP_FIRMWARE);
 
 struct cdn_dp_data {
 	u8 max_phy;