drm: sunxi: fix fbdev handoff warning

This commit is contained in:
Qubot 2026-06-06 00:29:11 +08:00
parent a259b049fc
commit 6a423085b1
2 changed files with 3 additions and 1 deletions

View File

@ -480,6 +480,8 @@ int sunxi_fbdev_plane_update(struct fbdev_config *config)
plane = &fbdev_plane->plane;
if ((plane->state->fb || plane->state->crtc) && !config->force && dev->master) {
/* A DRM master owns display updates now; stop tracking this plane as fbdev output. */
scrtc_fbdev->fbdev_output = false;
WARN_ON(scrtc_fbdev->fbdev_output);
DRM_INFO("skip fbdev plane update because plane used by userspace\n");
if (lock)

View File

@ -860,7 +860,7 @@ MODULE_PARM_DESC(rtw_phy_file_path, "The path of phy parameter");
* BIT9 - RF_TXPWR_LMT_6G_FILE 0: non-support, 1: support
* BIT10 -RF_TXPWR_LMT_RU_6G_FILE 0: non-support, 1: support
*/
int rtw_load_phy_file = ( BIT4 | BIT6 | BIT7 | BIT9 | BIT10);
int rtw_load_phy_file = 0;
module_param(rtw_load_phy_file, int, 0644);
MODULE_PARM_DESC(rtw_load_phy_file, "PHY File Bit Map");
int rtw_decrypt_phy_file = 0;