From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49D743C01 for ; Mon, 22 Sep 2025 03:00:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758510059; cv=none; b=cE6Szr/DeAzwGUxR1Q0tvNOneKNA1FLgshI+4nvF9gbv/pjxBiRBlWI3wkDWzejZKxPfJriRCCHrDoJ69t5mbepz1BcVPWZusHTfSgkuayvxEdeRsBOmjlm5m5hrwafIkZCLiKJk2P2t9uSXwmW5IP5nTy1huMiGEiLR0w5iOCU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758510059; c=relaxed/simple; bh=9Via/baIuj4koPbt0i5WBx/puIglGYQfyx7MuPjyXs4=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=DxAKB3yJkyGAiUZRcKOIk3TivEmFd1BzloIlq3H204a9aO1eYBEoTRek+KHuMYY9yluvQh6Lf+tfvp5Zs/LoxN7oMZn1ZVV0hLc/7rkYBof3fmBzCmzddyKfogoT6i5I8/H0uQ7XPHIchcBJ90fQtH03kAqfqnTpTM2mtzhy0IY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.194]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4cVSRh45Qqzdb8Q; Mon, 22 Sep 2025 10:56:16 +0800 (CST) Received: from dggemv712-chm.china.huawei.com (unknown [10.1.198.32]) by mail.maildlp.com (Postfix) with ESMTPS id 55EC11402DB; Mon, 22 Sep 2025 11:00:54 +0800 (CST) Received: from kwepemq100007.china.huawei.com (7.202.195.175) by dggemv712-chm.china.huawei.com (10.1.198.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 22 Sep 2025 11:00:54 +0800 Received: from localhost.huawei.com (10.169.71.169) by kwepemq100007.china.huawei.com (7.202.195.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 22 Sep 2025 11:00:53 +0800 From: Yongbang Shi To: , , , , , , , , CC: , , , , , , , , Subject: [PATCH v6 drm-dp 0/4] Fix hibmc driver bugs Date: Mon, 22 Sep 2025 10:49:39 +0800 Message-ID: <20250922024943.311947-1-shiyongbang@huawei.com> X-Mailer: git-send-email 2.33.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: kwepems500001.china.huawei.com (7.221.188.70) To kwepemq100007.china.huawei.com (7.202.195.175) From: Baihan Li There are some bugfix for hibmc-drm driver. --- ChangeLog: v5 -> v6: - use HPD status in DP detect_ctx(), suggested by Dmitry Baryshkov. v4 -> v5: - Because some of patches are applied, this series only contains the rest of them. - fix the commit and DP detect_ctx(), suggested by Dmitry Baryshkov. - fix bugfix commit ID, suggested by Dmitry Baryshkov. - remove the 08/11 patch, I'll add in next series. - combined 9 and 11 patch together, suggested by Dmitry Baryshkov. v3 -> v4: - remove link training process in hibmc_dp_detect(), suggested by Dmitry Baryshkov. - remove if (dev->registered), suggested by Dmitry Baryshkov. - remove non-related changes, suggested by Dmitry Baryshkov. - Remove the clock check, suggested by Dmitry Baryshkov. - ( I'll add them in next series after redesigning this part) - add KVM edid in commit message, suggested by Dmitry Baryshkov. - fix magic values, suggested by Dmitry Baryshkov. - fix the commit subjects, suggested by Dmitry Baryshkov. v2 -> v3: - fix hibmc_connector_get_modes() and hibmc_vdac_detect() to realize BMC KVM, suggested by Dmitry Baryshkov. - fix the issue commit ID, suggested by Dmitry Baryshkov. - split into 2 commits, suggested by Dmitry Baryshkov. - add more comments in commit log, suggested by Dmitry Baryshkov. --- Baihan Li (4): drm/hisilicon/hibmc: fix dp probabilistical detect errors after HPD irq drm/hisilicon/hibmc: add dp mode valid check drm/hisilicon/hibmc: fix no showing problem with loading hibmc manually drm/hisilicon/hibmc: Adding reset colorbar cfg in dp init. .../gpu/drm/hisilicon/hibmc/dp/dp_config.h | 2 ++ drivers/gpu/drm/hisilicon/hibmc/dp/dp_hw.c | 31 ++++++++++++++++-- drivers/gpu/drm/hisilicon/hibmc/dp/dp_hw.h | 9 ++++++ drivers/gpu/drm/hisilicon/hibmc/dp/dp_reg.h | 3 ++ .../gpu/drm/hisilicon/hibmc/hibmc_drm_dp.c | 32 +++++++++++++++++-- 5 files changed, 73 insertions(+), 4 deletions(-) -- 2.33.0