Display chip, electronic device and DP link training method

By using a processor and a DP controller in the display chip, and controlling DP link training through the chip's internal bus, the problem of low DP link training efficiency in the existing technology is solved, and a faster display access and screen lighting process is achieved. .

CN118035152BActive Publication Date: 2024-08-23BEIJING XIANGDIXIAN COMPUTING TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410439114.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-12
Publication Date
2024-08-23
Estimated Expiration
2044-04-12

AI Technical Summary

Technical Problem

In the existing technology, the DP link training efficiency is low, resulting in a slow screen turn-on speed after the display is connected to the DP interface. The DP controller needs to be accessed multiple times through the host, which affects the connection speed.

Method used

The processor and DP controller are introduced into the display chip and connected through the internal bus of the chip. After receiving the DP link training start instruction from the host, the processor controls the DP controller to perform link training with the connected sink device, and The training results are fed back to the host, reducing the number of times the host accesses the DP controller through the PCIe bus.

Benefits of technology

It improves the efficiency of DP link training, reduces the time for the host to access the DP controller through the PCIe bus, and improves the screen brightness speed after the monitor is connected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118035152B
    Figure CN118035152B
Patent Text Reader

Abstract

The present disclosure provides a display chip, an electronic device and a DP link training method. The display chip includes: a processor and a display interface DP controller, the processor and the DP controller are connected through a chip internal bus; the processor is configured to: after receiving a DP link training start instruction from a host end, control the DP controller to perform DP link training with a sink device connected to a DP interface through the chip internal bus, and feed back the DP link training result to the host end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of display control technology, and in particular to a display chip, an electronic device, and a DP link training method. Background Art

[0002] Display Port (DP) is a standard interface developed by the Video Electronics Standards Association (VESA) and has become the mainstream interface between PCs, laptops, monitors and other video devices.

[0003] When two devices that support the DP interface (such as a computer and a monitor) are connected for the first time, they need to establish a reliable data link through Link Training (LT). In the prior art, when the source device detects that a sink device is connected through the DP interface, the host in the source device usually controls the DP controller on the display chip to interact with the sink device through the PCIe bus to complete the link training. The efficiency of link training directly affects the connection speed between DP devices. Specifically, taking the sink device as a monitor as an example, low link training efficiency will result in a slow screen light-up speed after the monitor is connected to the DP interface.

[0004] How to further improve the link training efficiency is a problem that still needs to be solved in this field. Summary of the invention

[0005] The purpose of the present disclosure is to provide a display chip, an electronic device and a DP link training method to reduce the host's access operations to the DP controller through the PCIe bus during the DP link training process, thereby improving the training efficiency.

[0006] According to one aspect of the present disclosure, a display chip is provided, the display chip comprising a processor and a display interface DP controller, the processor and the DP controller are connected via a chip internal bus;

[0007] The above-mentioned processor is configured to: after receiving the DP link training start instruction from the host end, control the above-mentioned DP controller and the receiving end sink device connected to the DP interface to perform DP link training through the internal bus of the chip, and feed back the DP link training result to the above-mentioned host end.

[0008] In some embodiments, the processor is configured with a doorbell register, and the processor is configured to determine whether a DP link training start instruction is received from the host side by:

[0009] If it is detected that the first instruction identifier is written into the doorbell register, it is determined that a DP link training start instruction is received from the host side.

[0010] Furthermore, the DP link training start instruction further includes indication information of configuration parameters, and the processor is further configured to:

[0011] Acquire configuration parameters according to the above indication information, where the above indication information at least includes a storage address of the above configuration parameters;

[0012] The DP controller is configured according to the configuration parameters.

[0013] In some embodiments, the doorbell register is a 64-bit register, of which 3 bits are used to store instruction identifiers and 32 bits are used to store instruction additional information; the instruction identifier includes at least the first instruction identifier, and the instruction additional information includes at least the indication information.

[0014] In some embodiments, the processor is configured to feed back the DP link training result to the host end in the following manner:

[0015] The digital code corresponding to the DP link training result is written into the doorbell register.

[0016] In some embodiments, the processor is further configured to:

[0017] After receiving the DP controller parameter configuration instruction from the host end, the DP controller is parameter configured through the chip internal bus according to the DP controller parameter configuration instruction, and the parameter configuration result is fed back to the host end.

[0018] On this basis, the processor is configured to determine that a DP controller parameter configuration instruction is received from the host side in the following manner:

[0019] If it is detected that the second instruction identifier is written into the doorbell register, it is determined that the DP controller parameter configuration instruction is received from the host end.

[0020] In some embodiments, the processor is an application processor ACPU.

[0021] In some embodiments, the above chip internal bus is an AXI bus.

[0022] According to another aspect of the present disclosure, the present disclosure provides an electronic device, comprising the display chip of any one of the above embodiments, and a host end; the host end is configured as follows:

[0023] When a sink device newly connected to the DP interface is detected, the DP link training start instruction is sent to the processor; and the DP link training result fed back by the processor is received.

[0024] According to another aspect of the present disclosure, a DP link training method is provided, which is applied to a display chip, wherein the display chip includes a processor and a display interface DP controller, and the processor and the DP controller are connected via an internal bus of the chip; the method includes:

[0025] After receiving the DP link training start instruction from the host, the processor controls the DP controller and the sink device connected to the DP interface to perform DP link training through the internal bus of the chip;

[0026] The processor feeds back the DP link training result to the host end.

[0027] In some embodiments, the processor is configured with a doorbell register, and the receiving of the DP link training start instruction from the host includes:

[0028] If the processor detects that the first instruction identifier is written into the doorbell register, it determines that a DP link training start instruction is received from the host.

[0029] In some embodiments, the DP link training start instruction further carries indication information of configuration parameters, and the method further includes:

[0030] The processor obtains the configuration parameters according to the indication information, where the indication information at least includes the storage address of the configuration parameters;

[0031] The processor configures the DP controller according to the configuration parameters.

[0032] In some embodiments, feeding back the DP link training result to the host includes:

[0033] The processor writes the digital code corresponding to the DP link training result into the doorbell register.

[0034] In some embodiments, feeding back the DP link training result to the host includes:

[0035] After receiving the DP controller parameter configuration instruction from the host end, the processor configures the parameters of the DP controller through the chip internal bus according to the DP controller parameter configuration instruction, and feeds back the parameter configuration result to the host end. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1A schematic diagram of the structure of a display chip provided by an embodiment of the present disclosure;

[0037] Figure 2 A schematic diagram of the structure of a display system provided by an embodiment of the present disclosure;

[0038] Figure 3 A schematic diagram of a DP link training process provided by an embodiment of the present disclosure;

[0039] Figure 4 A schematic diagram of the structure of a graphics processing system provided by an embodiment of the present disclosure;

[0040] Figure 5 A schematic diagram of a DP link training method provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0041] Before introducing the embodiments of the present disclosure, it should be noted that:

[0042] Some embodiments of the present disclosure are described as processing flows. Although the various operation steps of the flow may be given sequential step numbers, the operation steps therein may be implemented in parallel, concurrently or simultaneously.

[0043] In the embodiments of the present disclosure, the terms "first", "second", etc. may be used to describe various features, but these features should not be limited by these terms. These terms are used only to distinguish one feature from another.

[0044] The term “and / or” may be used in embodiments of the present disclosure. “And / or” includes any and all combinations of one or more of the associated features listed.

[0045] It should be understood that when describing the connection or communication relationship between two components, unless it is explicitly stated that the two components are directly connected or directly communicating, the connection or communication between the two components can be understood as direct connection or communication, or as indirect connection or communication through an intermediate component.

[0046] In order to make the technical solutions and advantages of the embodiments of the present disclosure more clearly understood, the exemplary embodiments of the present disclosure are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0047] In the prior art, when a source device detects that a sink device is connected through the DP interface, the host end in the source device usually controls the DP controller on the display chip to interact with the sink device through the PCIe bus and the internal bus of the display chip to complete the link training process of the DP interface. During the link training process, according to the existing DP protocol, the host end needs to access the DP controller multiple times through the PCIe bus and the internal bus of the display chip to obtain the maximum link rate and maximum number of channels (lanes) supported by the sink device, and gradually control the DP controller to interact with the sink device to complete a series of link training steps.

[0048] The purpose of the present disclosure is to provide a DP link training solution that is more efficient than the prior art, which is intended to reduce the host's access operations to the DP controller through the PCIe bus during the DP link training process, thereby improving the DP link training efficiency. Specifically, according to the solution provided by the present disclosure, when the host detects that a sink device is connected to the DP interface, it sends an instruction to start link training to the processor on the display chip through the PCIe bus to trigger the processor to control the DP controller and the sink device through the chip's internal bus to perform link training, and after the training is completed, the training results are fed back to the host. As a result, the link training process is completed by the processor on the display chip controlling the DP controller through the chip's internal bus, without the host needing to access the DP controller through the PCIe bus multiple times, thereby effectively reducing the time required for the host to access the DP controller through the PCIe bus during the link training process, thereby improving the link training efficiency.

[0049] An embodiment of the present disclosure provides a display chip, such as Figure 1 As shown, the display chip at least includes a processor and a DP controller. In some usage scenarios, the display chip can be applied to Figure 2 The display system shown in the figure includes a host end and a sink device in addition to a display chip. The host end and the display chip are configured in the source device, and the host end and the display chip are connected through a PCIe bus.

[0050] like Figure 1 As shown, the processor and DP controller in the display chip provided by the embodiment of the present disclosure are connected through the internal bus of the chip, and the above-mentioned processor is configured to: after receiving the DP link training start instruction from the host side, control the DP controller and the sink device connected to the DP interface to perform DP link training through the internal bus of the chip, and feed back the link training result to the host side.

[0051] The display chip may be a SoC (System on Chip). In some usage scenarios, the display chip may include a GPU (graphics processing unit); in other usage scenarios, the display chip may not include a GPU. In one embodiment, the chip internal bus may be an AXI (Advanced eXtensible Interface) bus, a CF (control fiber) or a DF (data fiber), etc., preferably an AXI bus with a higher bandwidth.

[0052] In one embodiment, the processor may be an ACPU (Application CPU) or other processors capable of controlling the DP link training process.

[0053] In one embodiment, the host side may send a DP link training start instruction to the processor of the display chip when detecting a sink device newly connected to the DP interface. The host side may detect whether a sink device is connected to the DP interface in a variety of ways. In one example, the host side may read a register in the DP controller for recording the connection status of the DP interface, determine whether there is a newly connected sink device according to the value of a specified bit in the register, and send a DP link training start instruction to the processor on the display chip when it is determined that there is a sink device newly connected to the DP interface.

[0054] When the host sends a DP link training start instruction to the processor, in one embodiment, the processor is configured with a doorbell register, and the host can send the DP link training start instruction to the processor by writing the doorbell register. Specifically, the host writes at least a first instruction identifier into the doorbell register. Accordingly, if the processor detects that the first instruction identifier is written into the doorbell register, it can determine that the DP link training start instruction from the host is received, and starts controlling the DP link training based on the instruction.

[0055] In addition to the first identifier, in one embodiment, the host side can also write the indication information of the configuration parameters into the doorbell register so that the DP link training start instruction also includes the indication information, further enabling the processor to obtain the configuration parameters according to the indication information, thereby configuring the DP controller according to the obtained configuration parameters. In a specific implementation, the doorbell register in the processor is a 64-bit register, of which 3 bits are configured to store the instruction identifier (such as the above-mentioned first instruction identifier), and 32 bits are configured to store the instruction additional information (such as the above-mentioned configuration parameter indication information). Specifically, the host side can store the configuration parameters in memory or other storage space in advance, and write the storage address of the configuration parameters in the memory or other storage space as the indication information into the doorbell register, thereby, the processor can obtain the configuration parameters according to the storage address carried by the DP link training start instruction. In an example, the above configuration parameters may include bpc (Maximum bits per color channel), pixclock (display clock) and one or more of timing parameters, wherein the timing parameters may specifically include Hor Total Time (row total time), Hor SyncStart (row synchronization start), Hor Sync Time (row synchronization time), Hor Back Porch (row blanking), Ver TotalTime (field total time), Ver Sync Start (field synchronization start), Ver back porch (field blanking), Hor SyncPolarity (row synchronization polarity) and Ver Sync Polarity (field synchronization polarity).

[0056] It should be noted that the sending (and receiving) methods of the DP link training start instructions given in the above embodiments are only examples and are not intended to be limiting. Any improvements made to the above embodiments by technicians based on the ideas provided by the present disclosure should be deemed to be within the protection scope of the present disclosure, and other existing instruction sending (and receiving) methods can also be used to send (and receive) DP link training start instructions.

[0057] After receiving the DP link training start instruction, the processor controls the DP controller and the sink device to perform DP link training. Figure 3 As shown, according to the DP protocol, the DP link training mainly includes the following steps:

[0058] Step 101, obtain the maximum rate of each lane of the sink device and the maximum number of channels supported.

[0059] In one embodiment, the processor may control the DP controller to obtain the maximum rate of each channel and the maximum number of channels supported by the sink device by reading a DPCD (DisplayPort Configuration Data) register in the sink device.

[0060] Step 102: configure the maximum link rate and number of channels.

[0061] In one embodiment, the processor can control the DP controller to configure the maximum rate and number of channels of each channel in the link by configuring the DPCD register in the sink device, wherein the configured maximum rate does not exceed the maximum rate of each channel of the sink device obtained in the above step 101, and the configured number of channels does not exceed the maximum number of channels supported by the sink device obtained in the above step 101.

[0062] Step 103: configure and send a link training mode.

[0063] In one embodiment, the processor may control the DP controller to configure the link training mode by configuring the DPCD register in the sink device, for example, configuring the link training mode to TPS1, and sending TPS1 to the sink device. Specifically, the DP controller may send TPS1 to the sink device by enabling the PHY (physical layer).

[0064] Step 104: Perform CR (Clock Recovery) training.

[0065] In one embodiment, the CR training in step 104 may include: the processor controls the DP controller to obtain the CR status by reading the DPCD register in the sink device, specifically, if the CR is locked successfully, the value of LANEx_CR_DONE of each channel is 1, and if the CR is locked unsuccessfully, the value of LANEx_CR_DONE of each channel is 0. In the case of CR locking failure, the gear position, the maximum link rate and / or the number of channels may be adjusted and then retrained.

[0066] Step 105: When the CR training is successful, EQ (Equalization) training is performed.

[0067] In one embodiment, the EQ training in step 104 may include: reconfiguring the link training mode for EQ training according to the maximum link rate; the processor controls the DP controller to obtain the EQ state by reading the DPCD register in the sink device, and adjusting the gear, maximum link rate and / or number of channels according to the EQ state.

[0068] Step 106, obtaining the DP link training result.

[0069] In one embodiment, the processor may obtain the DP link training result by detecting the DP controller. For example, the DP link training result may be obtained by reading a register in the DP controller for storing the DP link training result.

[0070] Through the above steps, after receiving the DP link training start instruction from the host side, the processor can control the DP controller and sink device on the same display chip through the chip internal bus to perform DP link training, without the need for the host side to control each step of the DP link training through the PCIe bus, thereby effectively reducing the time required for the host side to access the display chip through the PCIe bus during the DP link training process, and improving the DP link training efficiency. In addition, since the DP link training is controlled by the processor on the display chip, in actual use, there is no need to consider the differences in the DP link training process between different host sides, and the DP link training process of the display chip processor is uniformly processed.

[0071] It should be noted that Figure 3 The process shown is an example of a DP link training process based on the DP protocol. In addition, the DP link training performed by the processor controlling the DP controller may also adopt other existing processes, which will not be described in detail here.

[0072] After obtaining the DP link training result, the processor can feed back the DP link training result to the host side in a variety of ways. In one embodiment, the processor can write the DP link training result into the doorbell register, and the host side obtains the DP link training result by detecting and accessing the doorbell register. Specifically, the DP link training result may include training success and training failure, and in the case of training failure, the DP link training result may be a specific failure reason, such as protocol error, connection timeout, etc. In a specific implementation, different DP link training results are represented by different digital codes, such as: 0-SUCCESS (training success), 5-EDIO (I / O error), 19-ENODEV (no such device), 22-EINVAL (invalid parameter), 71-EPROTO (protocol error), 110-ETIMEOUT (connection timeout), etc. The processor can write the digital code corresponding to the DP link training result into the doorbell register, thereby feeding back to the host side. Further, after receiving the DP link training result, the host side can perform operations such as restarting the DP link training.

[0073] In some embodiments, in addition to the need to configure the parameters of the DP controller during the DP link training process, the DP controller also needs to be configured when lighting up the sink device screen through the DP interface, switching the sink device resolution, etc. In one embodiment, during the specific configuration, the host side can directly access the DP controller through the PCIe bus and the internal bus of the display chip to control the configuration process. In another embodiment, after the processor on the display chip receives the DP controller parameter configuration instruction issued by the host side, the DP controller is configured through the chip internal bus according to the instruction, and the parameter configuration result is fed back to the host side. Thus, in the case where multiple parameters need to be configured, the host side does not need to access the DP controller through the PCIe bus multiple times, thereby improving the configuration efficiency. In another embodiment, the host side can choose to configure the DP controller by itself according to the number of parameters to be configured, or configure the DP controller through the processor on the display chip.

[0074] In one example, the host side can send the parameter information to be configured to the processor on the display chip, and instruct the processor to configure the DP controller according to the received parameter information. Specifically, the host side can store the parameter information to be configured in the processor memory, write the storage address into the doorbell register of the processor, and write the second instruction identifier into the doorbell register. Accordingly, when the processor detects that the second instruction identifier is written into the doorbell register, it can determine that the DP controller parameter configuration instruction from the host side is received, obtain the parameter information storage address, read the parameter information to be configured according to the storage address, configure the DP controller accordingly, and feed back the configuration result to the host side through the doorbell register. In one example, the host side can also store the specific parameter configuration instruction and parameter information together in the processor memory, and the processor can configure the corresponding parameter information according to the parameter configuration instruction in the memory.

[0075] In a specific implementation, the parameter information may include at least one of resolution, refresh rate, display format, display bit width, display clock, and timing parameters. The host side may send multiple parameter information to the processor at one time, and the processor configures the multiple parameter information to the DP controller through the chip internal bus. In a specific implementation, the parameter information is sent from the application layer of the host side to the kernel driver, and the kernel driver sends the received parameter information to the display driver, and then the display driver sends the parameter information to the display chip processor.

[0076] The display chip provided by the present disclosure can be applied to Figure 4 The graphics processing system shown in FIG. Figure 4 As shown, the graphics processing system includes:

[0077] The PCIe controller is an interface for communicating with the host side (i.e., the host side described in any of the above embodiments), implementing the PCIe protocol, so that the graphics processing system is connected to the host side through the PCIe interface, and the host side can send instructions to the graphics processing system through the PCIe interface.

[0078] The application processor can be regarded as the processor described in any of the above embodiments, which is used to control the DP controller to perform DP link training according to the DP link training start instruction sent by the host side, or to configure the DP controller parameters according to the DP controller parameter configuration instruction sent by the host side.

[0079] The display controller controls the frame buffer in the system memory to be output to the display via a display interface (HDMI, DP, etc.). Specifically, the DP controller described in any of the above embodiments may be connected to a sink device, such as a display, via a DP interface.

[0080] It should be pointed out that the above is only Figure 4 Taking the graphics processing system shown as an example, the implementation of the display chip provided by the embodiment of the present disclosure is exemplified. In practical applications, the specific implementation of the display chip that the graphics processing system may include can refer to any of the above embodiments, which will not be repeated here.

[0081] Based on the same inventive concept, the disclosed embodiment also provides an electronic device, which includes the display chip described in any of the above embodiments. In some usage scenarios, the product form of the electronic device is a portable electronic device, such as a tablet computer, etc. In some usage scenarios, the product form of the electronic device is a personal computer, a computer host, etc.

[0082] Based on the same inventive concept, the embodiment of the present disclosure also provides a DP link training method, which is applied to a display chip, wherein the display chip includes a processor and a DP controller, wherein the processor and the DP controller are connected via a chip internal bus. Figure 5 As shown, the DP link training method includes the following steps:

[0083] Step 201, after receiving the DP link training start instruction from the host, the processor controls the DP controller and the sink device connected to the DP interface to perform DP link training through the chip internal bus;

[0084] Step 202: the processor feeds back the DP link training result to the host.

[0085] In one embodiment, the processor is configured with a doorbell register. If the processor detects that the first instruction identifier is written into the doorbell register, it determines that a DP link training start instruction is received from the host.

[0086] In one embodiment, the DP link training start instruction also includes indication information of configuration parameters, and the processor can obtain the configuration parameters according to the indication information, and the indication information at least includes the storage address of the above configuration parameters; thus, the processor can configure the DP controller according to the obtained configuration parameters.

[0087] In one embodiment, the processor may write a digital code corresponding to the DP link training result into a doorbell register to feed back to the host end.

[0088] In one embodiment, after receiving the DP controller parameter configuration instruction from the host side, the processor may also configure the parameters of the DP controller through the chip internal bus according to the DP controller parameter configuration instruction, and feed back the parameter configuration result to the host side.

[0089] So far, the Figure 5 The description of the DP link training method shown in FIG. By using this method, the number of times the host accesses the DP controller during the DP link training process can be effectively reduced, saving the time required for access, thereby improving the link training efficiency.

[0090] The specific implementation of the above steps can refer to the above description of the display chip, which will not be repeated here.

[0091] Although the preferred embodiments of the present disclosure have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present disclosure.

[0092] Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.

Claims

1. A display chip, comprising a processor and a display interface DP controller, wherein the processor and the DP controller are connected via an internal bus of the chip; The processor is configured to: after receiving a DP link training start instruction from the host end, control the DP controller and the sink device connected to the DP interface to perform DP link training through the chip internal bus, and feed back the DP link training result to the host end; The controlling the DP controller to perform DP link training with a sink device at a receiving end connected to the DP interface comprises: Control the DP controller to obtain the maximum rate of each channel of the sink device and the maximum number of channels supported; configure the maximum link rate and the number of channels; Configure and send link training mode; perform CR training; perform EQ training if CR training is successful; obtain DP link training results.

2. The display chip according to claim 1, wherein the processor is configured with a doorbell register, and the processor is configured to determine that a DP link training start instruction is received from the host side by: If it is detected that the first instruction identifier is written into the doorbell register, it is determined that a DP link training start instruction is received from the host side.

3. The display chip according to claim 2, wherein the DP link training start instruction further comprises indication information of configuration parameters, and the processor is further configured to: Acquire configuration parameters according to the indication information, where the indication information at least includes a storage address of the configuration parameters; The DP controller is configured according to the configuration parameters.

4. According to the display chip of claim 3, the doorbell register is a 64-bit register, wherein 3 bits are used to store the instruction identifier and 32 bits are used to store the instruction additional information; the instruction identifier at least includes the first instruction identifier, and the instruction additional information at least includes the indication information.

5. The display chip according to claim 2, wherein the processor is configured to feed back the DP link training result to the host end in the following manner: The digital code corresponding to the DP link training result is written into the doorbell register.

6. The display chip according to claim 2, wherein the processor is further configured to: After receiving the DP controller parameter configuration instruction from the host end, the DP controller is parameter configured through the chip internal bus according to the DP controller parameter configuration instruction, and the parameter configuration result is fed back to the host end.

7. The display chip according to claim 6, wherein the processor is configured to determine that the DP controller parameter configuration instruction is received from the host end by: If it is detected that the second instruction identifier is written into the doorbell register, it is determined that the DP controller parameter configuration instruction is received from the host side. The display chip according to claim 1 , wherein the processor is an application processor (ACPU). 9 . The display chip according to claim 1 , wherein the chip internal bus is an AXI bus.

10. An electronic device, comprising the display chip according to any one of claims 1 to 9, and a host end; the host end is configured as follows: When a sink device newly connected to the DP interface is detected, the DP link training start instruction is sent to the processor; and the DP link training result fed back by the processor is received.

11. A DP link training method, applied to a display chip, wherein the display chip comprises a processor and a DP controller, wherein the processor and the DP controller are connected via an internal bus of the chip; the method comprises: After receiving the DP link training start instruction from the host end, the processor controls the DP controller and the receiving end sink device connected to the DP interface to perform DP link training through the chip internal bus; The controlling the DP controller to perform DP link training with the sink device at the receiving end connected to the DP interface includes: controlling the DP controller to obtain the maximum rate of each channel of the sink device and the maximum number of channels supported; configuring the maximum rate of the link and the number of channels; configuring and sending the link training mode; performing CR training; performing EQ training when the CR training is successful; and obtaining the DP link training result; The processor feeds back the DP link training result to the host end.

12. The method according to claim 11, wherein the processor is configured with a doorbell register, and the receiving of a DP link training start instruction from a host comprises: If the processor detects that the first instruction identifier is written into the doorbell register, it determines that a DP link training start instruction is received from the host side.

13. The method according to claim 12, wherein the DP link training start instruction further carries indication information of configuration parameters, and the method further comprises: The processor acquires the configuration parameter according to the indication information, where the indication information at least includes a storage address of the configuration parameter; The processor configures the DP controller according to the configuration parameters.

14. The method according to claim 12, wherein feeding back the DP link training result to the host end comprises: The processor writes a digital code corresponding to the DP link training result into the doorbell register.

15. The method according to claim 11, further comprising: After receiving the DP controller parameter configuration instruction from the host end, the processor configures the parameters of the DP controller through the chip internal bus according to the DP controller parameter configuration instruction, and feeds back the parameter configuration result to the host end.

Citation Information

Patent Citations

  • Link retraining based on runtime performance characteristics

    CN107636620A

  • PCIe link training method, end device and communication system

    CN110647486A

  • System, Apparatus And Method For Link Training For A Multi-Drop Interconnect

    US20180293196A1

  • Safe handling of link errors in a peripheral component interconnect express (PCIE) device

    US20190361763A1