From: Baihan Li
This phy is inited and configured for dp, and integrating them into dp init
and dp link training process.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +-
drivers/gpu/drm/hisilicon/hibmc/dp/dp_comm.h | 1
From: Baihan Li
Create 3 files in drm debugfs:
colorbar-cfg: Get/Set colorbar cfg
hibmc-dp: Get dp link status
hibmc-dp-edid: Print edid information
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
drivers/gpu/drm/hisilicon/hibmc/Makefile | 3 +-
drivers/gpu/drm/hisilicon
From: Baihan Li
This is a series of functions about getting dp connector status
function, registering irq function, interrupt handler function, and
hpd event process function to realize DP HPD feature.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
.../gpu/drm/hisilicon/hibmc/dp
From: Baihan Li
Registering drm_aux and using it to get connector edid with drm functions.
Refactoring some structs to fit aux's register framework.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
drivers/gpu/drm/hisilicon/hibmc/dp/dp_aux.c | 16 +---
drivers/gpu/drm/hisi
From: Baihan Li
To support DP HPD, edid printing, and colorbar display features based on
the Hisislcon DP devices.
Baihan Li (4):
drm/hisilicon/hibmc: Add dp phy cfg to adjust serdes rate, voltage and
pre-emphasis
drm/hisilicon/hibmc: Getting connector info and edid by using aux
cha
From: Baihan Li
Refactored struct hibmc_drm_private to separate VGA module from
generic struct.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
Reviewed-by: Tian Tao
---
ChangeLog:
v8 -> v9:
- changing bahan li to Baihan Li, clear sign-off mismatc
From: Baihan Li
Realizing the basic display function of DP cable for DP connector
displaying. Add DP module in hibmc drm driver, which is for Hisilicon
Hibmc SoC which used for Out-of-band management. Blow is the general
hardware connection, both the Hibmc and the host CPU are on the same
mother
From: Baihan Li
Build a dp level that hibmc driver can enable dp by
calling their functions.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
Reviewed-by: Tian Tao
---
ChangeLog:
v8 -> v9:
- changing bahan li to Baihan Li, clear sign-off mismatc
: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
Reviewed-by: Tian Tao
---
ChangeLog:
v8 -> v9:
- changing bahan li to Baihan Li, clear sign-off mismatches warnings,
suggested by Dmitry Baryshkov.
v7 -> v8:
- adding pci_set_master() in hibmc_pci_probe().
v6 -> v7:
- lowercasing hex, sug
From: Baihan Li
Add link training process functions in this moduel.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
Reviewed-by: Tian Tao
---
Changelog:
v8 -> v9:
- changing bahan li to Baihan Li, clear sign-off mismatches warnings,
suggested by Dmi
From: Baihan Li
Add dp aux read/write functions. They are basic functions
and will be used later.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
Reviewed-by: Tian Tao
---
ChangeLog:
v8 -> v9:
- changing bahan li to Baihan Li, clear sign-off mismatc
On Thu, 2 Jan 2025 at 14:53, Yongbang Shi wrote:
On Thu, Dec 19, 2024 at 10:52:32AM +0800, Yongbang Shi wrote:
Does everyone have a question with the patch?
-:225: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'reg_value' - possible
side-effects?
#225: FILE: drivers/gpu/drm/hisilico
On Thu, Dec 19, 2024 at 10:52:32AM +0800, Yongbang Shi wrote:
Does everyone have a question with the patch?
-:225: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'reg_value' - possible
side-effects?
#225: FILE: drivers/gpu/drm/hisilicon/hibmc/dp/dp_comm.h:23:
+#define dp_field_modify
Does everyone have a question with the patch?
From: baihan li
Realizing the basic display function of DP cable for DP connector
displaying. Add DP module in hibmc drm driver, which is for Hisilicon
Hibmc SoC which used for Out-of-band management. Blow is the general
hardware connection, both
: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
---
ChangeLog:
v7 -> v8:
- adding pci_set_master() in hibmc_pci_probe().
v6 -> v7:
- lowercasing hex, suggested by Dmitry Baryshkov.
v5 -> v6:
- adding hpd and get_edid comments in the beginning of patch, suggested by
Dmitry Baryshkov.
From: baihan li
Add dp aux read/write functions. They are basic functions
and will be used later.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
---
ChangeLog:
v5 -> v6:
- adding do{} while(0) in macro defination function, suggested by Dmitry
Barysh
From: baihan li
Refactored struct hibmc_drm_private to separate VGA module from
generic struct.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
---
ChangeLog:
v3 -> v4:
- separating hibmc_vdac and hibmc_dp changes into separate patche, suggested
From: baihan li
Add link training process functions in this moduel.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
---
Changelog:
v7 -> v8:
- adding DP_AUX_NATIVE_WRITE case in switch statement in
hibmc_dp_aux_parse_xfer().
v6 -> v7:
- deleteing
From: baihan li
Build a dp level that hibmc driver can enable dp by
calling their functions.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
---
ChangeLog:
v5 -> v6:
- using drm_dbg_dp() to print debug info instead of drm_info(), suggested by
Dmi
From: baihan li
Realizing the basic display function of DP cable for DP connector
displaying. Add DP module in hibmc drm driver, which is for Hisilicon
Hibmc SoC which used for Out-of-band management. Blow is the general
hardware connection, both the Hibmc and the host CPU are on the same
mother
From: baihan li
Add dp aux read/write functions. They are basic functions
and will be used later.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
---
ChangeLog:
v5 -> v6:
- adding do{} while(0) in macro defination function, suggested by Dmitry
Barysh
From: baihan li
Refactored struct hibmc_drm_private to separate VGA module from
generic struct.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
---
ChangeLog:
v3 -> v4:
- separating hibmc_vdac and hibmc_dp changes into separate patche, suggested
: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
---
ChangeLog:
v6 -> v7:
- lowercasing hex, suggested by Dmitry Baryshkov.
v5 -> v6:
- adding hpd and get_edid comments in the beginning of patch, suggested by
Dmitry Baryshkov.
v3 -> v4:
- static inline hibmc_dp_prepare(), suggested
From: baihan li
Realizing the basic display function of DP cable for DP connector
displaying. Add DP module in hibmc drm driver, which is for Hisilicon
Hibmc SoC which used for Out-of-band management. Blow is the general
hardware connection, both the Hibmc and the host CPU are on the same
mother
From: baihan li
Build a dp level that hibmc driver can enable dp by
calling their functions.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
Reviewed-by: Dmitry Baryshkov
---
ChangeLog:
v5 -> v6:
- using drm_dbg_dp() to print debug info instead of drm_info(), suggested by
Dmi
From: baihan li
Add link training process functions in this moduel.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
Changelog:
v6 -> v7:
- deleteing unset fields in struct hibmc_link_cap, suggested by Dmitry
Baryshkov.
- using macro instead of constants
On Mon, Dec 02, 2024 at 09:13:19PM +0800, Yongbang Shi wrote:
From: baihan li
Add link training process functions in this moduel.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
Changelog:
v5 -> v6:
- using drm_dbg_dp() to print debug info instead of drm_info(), suggested
From: baihan li
Add link training process functions in this moduel.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
Changelog:
v5 -> v6:
- using drm_dbg_dp() to print debug info instead of drm_info(), suggested by
Dmitry Baryshkov.
v3 -> v4:
- opti
From: baihan li
Realizing the basic display function of DP cable for DP connector
displaying. Add DP module in hibmc drm driver, which is for Hisilicon
Hibmc SoC which used for Out-of-band management. Blow is the general
hardware connection, both the Hibmc and the host CPU are on the same
mother
From: baihan li
Build a dp level that hibmc driver can enable dp by
calling their functions.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v5 -> v6:
- using drm_dbg_dp() to print debug info instead of drm_info(), suggested by
Dmitry Baryshkov.
- adding code comme
: Yongbang Shi
---
ChangeLog:
v5 -> v6:
- adding hpd and get_edid comments in the beginning of patch, suggested by
Dmitry Baryshkov.
v3 -> v4:
- static inline hibmc_dp_prepare(), suggested by Dmitry Baryshkov.
---
drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +-
.../gpu/drm/his
From: baihan li
Refactored struct hibmc_drm_private to separate VGA module from
generic struct.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v3 -> v4:
- separating hibmc_vdac and hibmc_dp changes into separate patche, suggested
by Dmitry Baryshkov.
v2 -> v3:
From: baihan li
Add dp aux read/write functions. They are basic functions
and will be used later.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v5 -> v6:
- adding do{} while(0) in macro defination function, suggested by Dmitry
Baryshkov.
v4 -> v5:
- fixing
On Mon, Nov 18, 2024 at 10:28:05PM +0800, Yongbang Shi wrote:
From: baihan li
To support DP interface displaying in hibmc driver. Add
a encoder and connector for DP modual.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v3 -> v4:
- static inline hibmc_dp_prep
在 2024/11/22 9:42, Dmitry Baryshkov 写道:
On Mon, Nov 18, 2024 at 10:28:01PM +0800, Yongbang Shi wrote:
From: baihan li
Add dp aux read/write functions. They are basic functions
and will be used later.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v4 ->
From: baihan li
Add dp aux read/write functions. They are basic functions
and will be used later.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v4 -> v5:
- fixing build errors reported by kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-
From: baihan li
To support DP interface displaying in hibmc driver. Add
a encoder and connector for DP modual.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v3 -> v4:
- static inline hibmc_dp_prepare(), suggested by Dmitry Baryshkov.
---
drivers/gpu/drm/hisili
From: baihan li
Realizing the basic display function of DP cable for DP connector
displaying. Add DP module in hibmc drm driver, which is for Hisilicon
Hibmc SoC which used for Out-of-band management. Blow is the general
hardware connection, both the Hibmc and the host CPU are on the same
mother
From: baihan li
Build a dp level that hibmc driver can enable dp by
calling their functions.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v3 -> v4:
- changed the type of train_set to array, suggested by Dmitry Baryshkov.
- using actual link rate instead of magic
From: baihan li
Refactored struct hibmc_drm_private to separate VGA module from
generic struct.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v3 -> v4:
- separating hibmc_vdac and hibmc_dp changes into separate patche, suggested
by Dmitry Baryshkov.
v2 -> v3:
From: baihan li
Add link training process functions in this moduel.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
Changelog:
v3 -> v4:
- optimizing hibmc_dp_link_get_adjust_train() to delete for loop, suggested
by Dmitry Baryshkov.
- changing ELNRNG to EIO error c
On Fri, Nov 01, 2024 at 06:50:25PM +0800, Yongbang Shi wrote:
From: baihan li
Add dp aux read/write functions. They are basic functions
and will be used later.
Signed-off-by: baihan li
Signed-off-by: yongbang shi
Is this a proper capitalization of your names? Usually the first letter
of
From: baihan li
To support DP interface displaying in hibmc driver. Add
a encoder and connector for DP modual.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v3 -> v4:
- static inline hibmc_dp_prepare(), suggested by Dmitry Baryshkov.
---
drivers/gpu/drm/hisili
From: baihan li
Refactored struct hibmc_drm_private to separate VGA module from
generic struct.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v3 -> v4:
- separating hibmc_vdac and hibmc_dp changes into separate patche, suggested
by Dmitry Baryshkov.
v2 -> v3:
From: baihan li
Add link training process functions in this moduel.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
Changelog:
v3 -> v4:
- optimizing hibmc_dp_link_get_adjust_train() to delete for loop, suggested
by Dmitry Baryshkov.
- changing ELNRNG to EIO error c
From: baihan li
Realizing the basic display function of DP cable for DP connector
displaying. Add DP module in hibmc drm driver, which is for Hisilicon
Hibmc SoC which used for Out-of-band management. Blow is the general
hardware connection, both the Hibmc and the host CPU are on the same
mother
From: baihan li
Build a dp level that hibmc driver can enable dp by
calling their functions.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v3 -> v4:
- changed the type of train_set to array, suggested by Dmitry Baryshkov.
- using actual link rate instead of magic
From: baihan li
Add dp aux read/write functions. They are basic functions
and will be used later.
Signed-off-by: Baihan Li
Signed-off-by: Yongbang Shi
---
ChangeLog:
v3 -> v4:
- retun error codes in result incorrect branch, suggested by Dmitry
Baryshkov.
- replacing all ret= w
On Tue, 5 Nov 2024 at 06:06, Yongbang Shi wrote:
On Fri, Nov 01, 2024 at 06:50:27PM +0800, Yongbang Shi wrote:
From: baihan li
Build a dp level that hibmc driver can enable dp by
calling their functions.
Signed-off-by: baihan li
Signed-off-by: yongbang shi
---
ChangeLog:
v2 ->
On Fri, Nov 01, 2024 at 06:50:27PM +0800, Yongbang Shi wrote:
From: baihan li
Build a dp level that hibmc driver can enable dp by
calling their functions.
Signed-off-by: baihan li
Signed-off-by: yongbang shi
---
ChangeLog:
v2 -> v3:
- fix build errors reported by kernel test ro
I will accept your advices in all the patchs.
Thanks,
Baihan.
On Fri, Nov 01, 2024 at 06:50:28PM +0800, Yongbang Shi wrote:
From: baihan li
To support DP interface displaying in hibmc driver. Add
a encoder and connector for DP modual.
Signed-off-by: baihan li
Signed-off-by: yongbang shi
From: baihan li
Add dp aux read/write functions. They are basic functions
and will be used later.
Signed-off-by: baihan li
Signed-off-by: yongbang shi
---
ChangeLog:
v2 -> v3:
- put the macro definations in latter patch where they are actually used,
suggested by Dmitry Barysh
From: baihan li
Realizing the basic display function of DP cable for DP connector
displaying. Add DP module in hibmc drm driver, which is for Hisilicon
Hibmc SoC which used for Out-of-band management. Blow is the general
hardware connection, both the Hibmc and the host CPU are on the same
mother
From: baihan li
Add link training process functions in this moduel.
Signed-off-by: baihan li
Signed-off-by: yongbang shi
---
Changelog:
v2 -> v3:
- using switchcase in dp_link_reduce_lane, suggested by Dmitry Baryshkov.
- deleting dp_link_pattern2dpcd function and using macros direc
From: baihan li
Build a dp level that hibmc driver can enable dp by
calling their functions.
Signed-off-by: baihan li
Signed-off-by: yongbang shi
---
ChangeLog:
v2 -> v3:
- fix build errors reported by kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-all/202410250
From: baihan li
To support DP interface displaying in hibmc driver. Add
a encoder and connector for DP modual.
Signed-off-by: baihan li
Signed-off-by: yongbang shi
---
ChangeLog:
v2 -> v3:
- fix build errors reported by kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-
On Tue, Oct 22, 2024 at 08:41:46PM +0800, Yongbang Shi wrote:
From: baihan li
Add link training process functions in this moduel.
We should probably have a bounty for a developer who finally writes a
generic DP link training helpers.
Signed-off-by: baihan li
Missing SoB
---
ChangeLog
On Tue, 29 Oct 2024 at 16:15, Yongbang Shi wrote:
On Tue, Oct 22, 2024 at 08:41:45PM +0800, Yongbang Shi wrote:
From: baihan li
+}
+
+enum dpcd_revision {
+DPCD_REVISION_10 = 0x10,
+DPCD_REVISION_11,
+DPCD_REVISION_12,
+DPCD_REVISION_13,
+DPCD_REVISION_14,
Any reason for
On Tue, Oct 22, 2024 at 08:41:45PM +0800, Yongbang Shi wrote:
From: baihan li
Add dp aux read/write functions. They are basic functions
and will be used later.
Signed-off-by: baihan li
---
ChangeLog:
v1 -> v2:
- using drm_dp_aux frame implement dp aux read and write functions,
sugges
On Tue, Oct 22, 2024 at 08:41:45PM +0800, Yongbang Shi wrote:
From: baihan li
Add dp aux read/write functions. They are basic functions
and will be used later.
Signed-off-by: baihan li
---
ChangeLog:
v1 -> v2:
- using drm_dp_aux frame implement dp aux read and write functions,
sugges
On Tue, Oct 22, 2024 at 08:41:46PM +0800, Yongbang Shi wrote:
From: baihan li
Add link training process functions in this moduel.
We should probably have a bounty for a developer who finally writes a
generic DP link training helpers.
Signed-off-by: baihan li
Missing SoB
---
ChangeLog
On Tue, 22 Oct 2024 at 15:24, Yongbang Shi wrote:
On Mon, Sep 30, 2024 at 06:06:10PM +0800, shiyongbang wrote:
From: baihan li
To support DP interface displaying in hibmc driver. Add
a encoder and connector for DP modual.
Signed-off-by: baihan li
---
drivers/gpu/drm/hisilicon/hibmc
From: baihan li
Build a dp level that hibmc driver can enable dp by
calling their functions.
Signed-off-by: baihan li
---
ChangeLog:
v1 -> v2:
- changed some defines and functions to former patch, suggested by Dmitry
Baryshkov.
- sorting the headers including in dp_hw.h and hibmc_drm_drv.c
From: baihan li
To support DP interface displaying in hibmc driver. Add
a encoder and connector for DP modual.
Signed-off-by: baihan li
---
ChangeLog:
v1 -> v2:
- deleting struct dp_mode and dp_mode_cfg function, suggested by Dmitry
Baryshkov.
- modifying drm_simple_encoder_init function,
From: baihan li
Add dp aux read/write functions. They are basic functions
and will be used later.
Signed-off-by: baihan li
---
ChangeLog:
v1 -> v2:
- using drm_dp_aux frame implement dp aux read and write functions, suggested
by Jani Nikula.
- using drm dp header files' dp macros instead,
From: baihan li
Add link training process functions in this moduel.
Signed-off-by: baihan li
---
ChangeLog:
v1 -> v2:
- using drm_dp_* functions implement dp link training process, suggested by
Jani Nikula.
- fix build errors reported by kernel test robot
Closes:
https://lore.kernel.
From: baihan li
Realizing the basic display function of DP cable for DP connector
displaying. Add DP module in hibmc drm driver, which is for Hisilicon
Hibmc SoC which used for Out-of-band management. Blow is the general
hardware connection, both the Hibmc and the host CPU are on the same
mother
On Mon, 21 Oct 2024 at 15:22, Yongbang Shi wrote:
Hi Dmitry,
There're some format problems with the previous replies. Send it again here.
Thanks for your advices, I'll resolve the problems you mentioned.
On Mon, Sep 30, 2024 at 06:06:09PM +0800, shiyongbang wrote:
From: baihan
On Mon, Sep 30, 2024 at 06:06:10PM +0800, shiyongbang wrote:
From: baihan li
To support DP interface displaying in hibmc driver. Add
a encoder and connector for DP modual.
Signed-off-by: baihan li
---
drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +-
.../gpu/drm/hisilicon/hibmc/hi
Okay, I'll fix them.
Thanks,
Baihan
On Mon, 21 Oct 2024 at 14:54, s00452708 wrote:
Thanks, I will modify codes according to your comments, and I also
replied some questions or reasons why I did it below.
On Mon, Sep 30, 2024 at 06:06:10PM +0800, shiyongbang wrote:
From: baihan li
To suppo
Hi Dmitry,
There're some format problems with the previous replies. Send it again here.
Thanks for your advices, I'll resolve the problems you mentioned.
On Mon, Sep 30, 2024 at 06:06:09PM +0800, shiyongbang wrote:
From: baihan li
Build a kapi level that hibmc driver can enable dp by
calling
Thanks, I will modify codes according to your comments, and I also
replied some questions or reasons why I did it below.
On Mon, Sep 30, 2024 at 06:06:10PM +0800, shiyongbang wrote:
From: baihan li
To support DP interface displaying in hibmc driver. Add
a encoder and connector for DP modual.
72 matches
Mail list logo