]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/rockchip: cdn-dp-core: add MODULE_FIRMWARE macro
authorPeter Robinson <pbrobinson@gmail.com>
Thu, 6 May 2021 09:29:51 +0000 (10:29 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 28 May 2021 17:46:24 +0000 (19:46 +0200)
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>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210506092951.515813-1-pbrobinson@gmail.com
drivers/gpu/drm/rockchip/cdn-dp-core.c

index 6802d9b65f828a266e75dede349e196402e82bb3..8ab3247dbc4aab72f20c44f5227612ad20413b09 100644 (file)
@@ -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;