CN118068949A - Low-power consumption control method and system for graphic processor - Google Patents

Low-power consumption control method and system for graphic processor Download PDF

Info

Publication number
CN118068949A
CN118068949A CN202410503361.1A CN202410503361A CN118068949A CN 118068949 A CN118068949 A CN 118068949A CN 202410503361 A CN202410503361 A CN 202410503361A CN 118068949 A CN118068949 A CN 118068949A
Authority
CN
China
Prior art keywords
display
unit
clock
power supply
graphic processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410503361.1A
Other languages
Chinese (zh)
Other versions
CN118068949B (en
Inventor
张坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenliu Micro Intelligent Technology Shenzhen Co ltd
Original Assignee
Shenliu Micro Intelligent Technology Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenliu Micro Intelligent Technology Shenzhen Co ltd filed Critical Shenliu Micro Intelligent Technology Shenzhen Co ltd
Priority to CN202410503361.1A priority Critical patent/CN118068949B/en
Publication of CN118068949A publication Critical patent/CN118068949A/en
Application granted granted Critical
Publication of CN118068949B publication Critical patent/CN118068949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3293Power saving characterised by the action undertaken by switching to a less power-consuming processor, e.g. sub-CPU
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Sources (AREA)

Abstract

The embodiment of the application discloses a low-power consumption control method and a system of a graphics processor, wherein the method comprises the following steps: determining a current working mode of the graphic processor; if the display terminal is detected to be connected, a power supply and a clock of a first working unit corresponding to the graphic processor are turned on according to the current working mode, wherein the first working unit comprises at least one of a rendering unit and a display unit; and in the current working mode, if the display terminal is disconnected from the graphic processor, closing the power supply and the clock of the corresponding second working unit of the graphic processor. The application increases the detection of the connection or disconnection of the external display equipment, and controls the internal display related unit module of the graphic processor and even the turn-off of the rendering unit according to the detection condition of the connection or disconnection of the display equipment, thereby optimizing the performance of the graphic processor, reducing the idle work and achieving the purposes of effectively managing and reducing the power consumption of the graphic processor.

Description

Low-power consumption control method and system for graphic processor
Technical Field
The present application relates to the field of graphics processor technologies, and in particular, to a low power consumption control method and system for a graphics processor.
Background
Graphics Processors (GPUs) have been developed for many years, and with the large-scale application of cloud computing and artificial intelligence, they have become an indispensable popular product. In the existing chip power consumption management technology with a processor, most of collected voltage, current or memory occupation conditions are used as judgment basis, and power consumption control is realized by changing the working frequency, the working voltage and the like of the chip. At present, the peak power consumption of the high-performance graphics processor can reach more than 400W, which is a famous and real consumer of power consumption, and when the external device is not connected with the graphics processor, if the GPU continues to keep working at full speed, the internal display unit does idle work, so that the display unit and the rendering unit are always in a full-load working state, and further the problem of high power consumption of the graphics processor is generated.
Disclosure of Invention
The application mainly aims to provide a low-power consumption control method and a system for a graphics processor, which can solve the technical problem that the graphics processor consumes much power because a display unit and a rendering unit in the prior art are always in a full-load working state.
To achieve the above object, a first aspect of the present application provides a low power consumption control method of a graphics processor, the method comprising:
determining a current working mode of the graphic processor;
If the display terminal is detected to be connected, a power supply and a clock of a first working unit corresponding to the graphic processor are turned on according to the current working mode, wherein the first working unit comprises at least one of a rendering unit and a display unit;
and in the current working mode, if the display terminal is disconnected from the graphic processor, closing the power supply and the clock of the corresponding second working unit of the graphic processor.
To achieve the above object, a second aspect of the present application provides a graphics processing system including a graphics processor, the graphics processor including: the display device comprises a control unit, a display unit, a rendering unit, a display unit clock and a display unit power supply corresponding to the display unit, a rendering unit clock and a rendering unit power supply corresponding to the rendering unit and at least one detection unit, wherein each detection unit comprises a connection interface and a detection circuit, and the graphic processor can be connected with an external display terminal through the connection interface;
the detection unit is used for detecting the connection condition of the graphic processor and the display terminal through the detection circuit;
the detecting unit is used for sending an access detecting signal for indicating that the display terminal is accessed to the graphic processor if the display terminal is detected to be accessed to the graphic processor, and sending a disconnection detecting signal for indicating that the display terminal is disconnected from the graphic processor if the display terminal is detected to be disconnected from the graphic processor;
the control unit is used for determining a current working mode of the graphic processor, and if the fact that the display terminal is accessed is determined to exist according to the received access detection signal, a power supply and a clock of a first working unit corresponding to the graphic processor are turned on according to the current working mode, wherein the first working unit comprises at least one of a rendering unit and a display unit;
And the control unit is also used for closing the power supply and the clock of the second working unit corresponding to the graphic processor if the fact that the display terminal is disconnected from the graphic processor is detected according to the received disconnection detection signal in the current working mode.
To achieve the above object, a third aspect of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
determining a current working mode of the graphic processor;
If the display terminal is detected to be connected, a power supply and a clock of a first working unit corresponding to the graphic processor are turned on according to the current working mode, wherein the first working unit comprises at least one of a rendering unit and a display unit;
And in the current working mode, if the display terminal is disconnected from the graphic processor, closing the power supply and the clock of a corresponding second working unit of the graphic processor.
To achieve the above object, a fourth aspect of the present application provides a computer device including a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
determining a current working mode of the graphic processor;
If the display terminal is detected to be connected, a power supply and a clock of a first working unit corresponding to the graphic processor are turned on according to the current working mode, wherein the first working unit comprises at least one of a rendering unit and a display unit;
And in the current working mode, if the display terminal is disconnected from the graphic processor, closing the power supply and the clock of a corresponding second working unit of the graphic processor.
The embodiment of the application has the following beneficial effects:
The application adopts a power consumption management strategy different from the traditional one, and increases the detection of the plug-in signal of the display terminal as the power consumption management strategy. The method has the advantages that the detection of the connection or disconnection of the external display equipment is increased, and the connection or disconnection of the related unit module and even the rendering unit in the graphics processor is controlled according to the detection condition of the connection or disconnection of the display equipment, so that the performance of the graphics processor is optimized, the idle work is reduced, and the purposes of effectively managing and reducing the power consumption of the graphics processor are achieved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
FIG. 1 is a flow chart of a low power control method of a graphics processor according to an embodiment of the application;
FIG. 2 is a block diagram of a graphics processing system in accordance with an embodiment of the present application;
FIG. 3 is a circuit diagram of a detection circuit in an embodiment of the application;
FIG. 4 is a diagram illustrating low power control of a graphics processing system according to an embodiment of the present application;
Fig. 5 is a block diagram of a computer device in an embodiment of the application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
As shown in FIG. 1, in one embodiment, a method for controlling low power consumption of a graphics processor is provided.
The low power consumption control method of the graphic processor specifically comprises the following steps:
s100: a current operating mode of the graphics processor is determined.
In particular, the graphics processor may be GPU (graphics processing unit) or the like. The current operating mode may be one of a performance mode, a balance mode, etc.
The current operating mode of the graphics processor may be controlled or switched by the CPU. For example, the CPU processor may issue a mode switch command via the PCIe interface so that the graphics processor, e.g., GPU, may switch arbitrarily between different modes.
The present embodiment is applicable to a control unit of a graphics processor.
S200: if the display terminal is detected to be connected, a power supply and a clock of a first working unit corresponding to the graphic processor are turned on according to the current working mode, wherein the first working unit comprises at least one of a rendering unit and a display unit.
Specifically, whether the display terminal is connected to the graphic processor or not can be detected through the detection circuit, and if an access detection signal indicating that the display terminal is connected to the graphic processor is obtained, a power supply and a clock of a first working unit corresponding to the connected display terminal in the graphic processor are turned on according to the current working mode. The first working unit may be at least one of a rendering unit, a display unit, and the like.
For example, a rendering unit power supply and a rendering unit clock of a rendering unit corresponding to the accessed display terminal are turned on, a display unit power supply and a display unit clock of a display unit corresponding to the accessed display terminal are turned on, and the like.
The other rendering units which are not connected into the display terminal and the power supplies and clocks corresponding to the display units are not turned on temporarily, so that the purposes of saving energy and power and reducing power consumption are achieved.
The rendering unit is a functional unit of a graphics processor, such as a GPU, responsible for calculation and result output of the whole picture rendering flow, and is composed of hundreds or even thousands of processors. The power supply and the clock in the rendering unit may be turned on and off by the control unit. The more processors that are turned on, the greater the power consumption.
The display unit is a functional unit of the graphic processor, such as a GPU, responsible for displaying pictures, and the number of display units is determined by the display terminals supported by the GPU. The power supply and clock of the display unit may be turned on and off by the control unit. The more display cells that are turned on, the greater the power consumption.
And the display terminal is used for receiving the image data output by the display unit of the graphic processor and displaying the image on a screen.
S300: and in the current working mode, if the display terminal is disconnected from the graphic processor, closing the power supply and the clock of a corresponding second working unit of the graphic processor.
Specifically, whether the display terminal is disconnected from the graphics processor or not can be detected through the detection circuit, and if a disconnection detection signal indicating that the display terminal is disconnected from the graphics processor is obtained, the power supply and the clock of a second working unit corresponding to the disconnected display terminal in the graphics processor are turned off according to the current working mode. The second working unit may be at least one of a rendering unit, a display unit, and the like.
In the prior art, the graphics processor adopts the traditional power consumption management mode flow without detecting external display equipment, and can not open and close a display unit according to the access condition of the external display equipment, so that the display unit and a rendering unit are always in a full-load working state, and further the problem of huge power consumption of the graphics processor is generated.
In order to solve the above problems and reduce the power consumption of the graphics processor, the present embodiment adopts a power consumption management strategy different from the conventional one, and increases the detection of the plug-in signal of the display terminal as the power consumption management strategy. The method has the advantages that the detection of the connection or disconnection of the external display equipment is increased, and the connection or disconnection of the related unit module and even the rendering unit in the graphics processor is controlled according to the detection condition of the connection or disconnection of the display equipment, so that the performance of the graphics processor is optimized, the idle work is reduced, and the purposes of effectively managing and reducing the power consumption of the graphics processor are achieved.
In one embodiment, if the current working mode is the performance mode, in step S200, if it is detected that the display terminal is connected, the power supply and the clock of the corresponding first working unit of the graphics processor are turned on according to the current working mode, including:
in the performance mode, if the presence of the access of the display terminal is detected, turning on the power supply and the clock of the display unit of the first display channel corresponding to the accessed display terminal in the graphic processor, and turning on the power supply and the clock of all the rendering units of the first display channel;
If it is detected in step S300 that the display terminal is disconnected from the graphics processor, the power supply and the clock of the second working unit corresponding to the graphics processor are turned off, including:
in the performance mode, if the display terminal is detected to be disconnected from the graphic processor, the power supply and the clock of the display unit of the second display channel corresponding to the disconnected display terminal are turned off;
Or alternatively
If it is detected in step S300 that the display terminal is disconnected from the graphics processor, the power supply and the clock of the second working unit corresponding to the graphics processor are turned off, including:
In the performance mode, if the display terminal is detected to be disconnected from the graphic processor, the power supply and the clock of the display unit of the second display channel corresponding to the disconnected display terminal are turned off,
And closing the power supply and the clock of part of the rendering units of the second display channel, and/or reducing the working voltage of the main power supply and/or the working frequency of the main clock.
Specifically, each display terminal connected to the graphics processor corresponds to one display channel. Each display channel corresponds to a display unit and a rendering unit.
In performance mode, a power consumption management policy for performance mode is initiated: and if the display terminal is detected to be connected, turning on the power supply and the clocks of the display units of the first display channel corresponding to the connected display terminal in the graphic processor, and turning on the power supply and the clocks of all the rendering units of the first display channel.
In the performance mode, when the detection circuit detects that the display terminal is connected, the connection detection signal is transmitted to the control unit, the control unit opens the internal power supply and the clock of the corresponding display unit, and opens the internal power supply and the clock of all rendering units of the display channel corresponding to the connected display terminal.
In addition, after the graphics processor is powered on, the main power supply and the main clock are normally started by default, so that the control unit of the graphics processor is ensured to be normally started.
In the performance mode, if it is detected that there is disconnection of the display terminal from the graphic processor or withdrawal of the graphic processor from the display terminal, the power supply and the clock of the display unit of the second display channel corresponding to the disconnected display terminal are turned off.
Or alternatively
In the performance mode, if it is detected that the display terminal is disconnected from the graphic processor, the power and clock of the display unit of the second display channel corresponding to the disconnected display terminal are turned off,
And turning off the power supply and the clock of part of the rendering units of the second display channel, and/or turning down the working voltage of the main power supply and/or turning down the working frequency of the main clock.
The number of rendering units closed by the control unit can be adjusted or configured according to actual requirements, which is not limited by the present application.
The main power supply is used for providing working voltage for the graphic processor, and the control unit can adjust the output voltage of the main power supply according to different power consumption levels, and the higher the voltage is, the larger the power consumption is.
The master clock is used for providing working frequency for the graphic processor, and the control unit can adjust the output frequency of the master clock according to different power consumption levels, and the higher the frequency is, the larger the power consumption is.
The power consumption can be effectively reduced by reducing the operating voltage of the main power supply and the operating frequency of the main clock.
In the embodiment, the power supply and the clock of the display unit and the rendering unit of the graphic processor are controlled in the performance mode through detecting the connection and disconnection of the display terminal, so that the purpose of reducing the power consumption is achieved.
In one embodiment, if the current operation mode is a performance mode, the method further includes:
in the performance mode, if the display terminal is not detected to be accessed, the power supply and the clock of the partial rendering unit are turned on according to a first preset strategy.
Specifically, when the display terminal access is not detected, only the power and clock of a part of the rendering units may be turned on. The number of rendering units that are turned on and which rendering units that are turned on may be set according to actual needs, which the present application is not limited. While the display unit may not be turned on for a while.
In the embodiment, the power supply and the clock of the display unit and the rendering unit of the graphic processor are controlled by detecting the connection and disconnection of the display terminal when the display terminal is not connected in the performance mode, so that the purpose of reducing the power consumption is achieved.
In one embodiment, if the current working mode is the balanced mode, in step S200, if it is detected that the display terminal is connected, the power supply and the clock of the corresponding first working unit of the graphics processor are turned on according to the current working mode, including:
In the balance mode, if the display terminal is detected to be connected, a power supply and a clock of a display unit of a third display channel corresponding to the connected display terminal in the graphic processor are turned on;
And adjusting at least one of the opening number, the power supply voltage and the clock frequency of the rendering units of the third display channel according to the load occupation condition of the graphic processor, wherein the load occupation condition of the graphic processor comprises at least one of the running number and the memory occupation condition of the current rendering units.
Specifically, each display terminal connected to the graphics processor corresponds to one display channel. Each display channel corresponds to a display unit and a rendering unit.
In balanced mode, a power consumption management policy for balanced mode is activated: in the balance mode, if the display terminal is detected to be connected, a power supply and a clock of a display unit of a third display channel corresponding to the connected display terminal in the graphic processor are turned on; and opening the rendering unit of the third display channel.
At least one of the power supply voltage and the clock frequency of the rendering units of the third display channel and the number of rendering units which are turned on is adjusted, specifically increased or decreased or kept unchanged, according to the load occupation situation of the graphics processor. The load occupation situation of the graphic processor comprises at least one of the running number of the current rendering units in the graphic processor and the memory occupation situation.
In the embodiment, the power supply and the clock of the display unit and the rendering unit of the graphic processor are controlled in the balance mode through detecting the connection and disconnection of the display terminal, so that the purpose of reducing the power consumption is achieved.
In one embodiment, the adjusting the power supply voltage and the clock frequency of the rendering unit of the third display channel according to the load occupation situation of the graphics processor includes:
If the load occupation condition of the graphic processor indicates that the load occupation rate exceeds the upper threshold, executing at least one of increasing the opening number of the rendering units of the third display channel, increasing the power supply voltage of the rendering units of the third display channel, increasing the clock frequency of the rendering units of the third display channel, increasing the output voltage of a main power supply and increasing the output frequency of a main clock until the load occupation rate does not exceed the upper threshold or all the rendering units are opened;
And if the load occupation condition of the graphic processor indicates that the load occupation rate is lower than the lower threshold limit, executing at least one of reducing the opening number of the rendering units of the third display channel, reducing the power supply voltage of the rendering units of the third display channel, reducing the clock frequency of the rendering units of the third display channel, reducing the output voltage of a main power supply and reducing the output frequency of the main clock until the load occupation rate is not lower than the lower threshold limit or the number of all the rendering units which are closed or rendering units which remain in an open state reaches the minimum number threshold.
Specifically, the graphics processor load occupancy is used to indicate a load occupancy rate; the load occupancy rate is calculated according to the running number of the current rendering units of the graphic processor and the memory occupancy rate or the memory occupancy amount.
The upper load limit is a threshold upper limit T, the range value is from 1% to 100%, the lower load limit is a threshold lower limit L, and the range value is from 1% to 100%, where T > L. The control unit does not need to adjust the power supply voltage and the clock frequency of the rendering unit when the actual load occupancy of the graphics processor is between the load thresholds T and L.
If the graphic processor load occupancy indicates that the load occupancy exceeds the threshold upper limit T, at least one of increasing the number of open rendering units of the third display channel, increasing the power supply voltage of the open rendering units of the third display channel, increasing the clock frequency of the open rendering units of the third display channel, increasing the output voltage of the main power supply, and increasing the output frequency of the main clock is performed until the load occupancy does not exceed the threshold upper limit or all rendering units of the third display channel have been opened.
Wherein the number of rendering units that are turned on may be preferentially increased, and if it is not possible to reach that the load occupancy rate does not exceed the threshold upper limit, the power supply voltage and/or the clock frequency of the turned-on rendering units are continuously adjusted, etc. Of course, the specific adjustment strategy can be configured according to the actual application scenario, which is not limited by the present application.
If the graphics processor load occupancy indicates that the load occupancy is below a lower threshold L, performing at least one of reducing an open number of rendering units of the third display channel, reducing a power supply voltage of rendering units of the third display channel, reducing a clock frequency of rendering units of the third display channel, reducing an output voltage of a main power supply, reducing an output frequency of a main clock until the load occupancy is not below the lower threshold or the number of rendering units that have been turned off all rendering units or remain open reaches a minimum number threshold.
Wherein the number of rendering units that are turned on may be preferentially reduced, and if the load occupancy rate is not lower than the threshold lower limit, the power supply voltage and/or the clock frequency of the turned-on rendering units may be continuously adjusted, etc. Of course, the specific adjustment strategy can be configured according to the actual application scenario, which is not limited by the present application.
In the embodiment, the display unit of the graphic processor is controlled in the balance mode by detecting the connection and disconnection of the display terminal, and the power supply and the clock of the rendering unit are controlled according to the load occupation condition, so that the aim of effectively reducing the power consumption is fulfilled.
In one embodiment, if the current working mode is the balance mode, in step S300, if it is detected that the display terminal is disconnected from the graphics processor, the power and the clock of the second working unit corresponding to the graphics processor are turned off, including:
In the balance mode, if the display terminal is detected to be disconnected from the graphic processor, the power supply and the clock of the display unit of the fourth display channel corresponding to the disconnected display terminal are turned off;
and adjusting the power supply voltage and the clock frequency of the rendering unit of the fourth display channel according to the load occupation condition of the graphic processor, or closing the power supply and the clock of part of the rendering units of the fourth display channel.
Specifically, after the control unit obtains a disconnection detection signal indicating that the display terminal is pulled out, the processing flow mainly includes turning off the power supply and the clock of the display unit of the fourth display channel corresponding to the disconnected display terminal; and adjusting the power supply voltage and the clock frequency of the rendering unit of the fourth display channel according to the load occupation condition of the graphic processor, or closing the power supply and the clock of part of the rendering units of the fourth display channel.
In contrast to the performance mode, in the balancing mode, the supply voltage and the clock output frequency of the rendering unit may be adjusted according to the load situation, and if necessary, the power supply and the clock of a part of the rendering unit may be turned off.
In the embodiment, the display unit of the graphic processor is controlled in the balance mode by detecting the connection and disconnection of the display terminal, and the power supply and the clock of the rendering unit are controlled according to the load occupation condition, so that the aim of effectively reducing the power consumption is fulfilled.
In one embodiment, the current operation mode is one of a performance mode and a balance mode;
if the graphics processor is switched from the current working mode to the sleep mode, the method further comprises:
Closing the power supply and the clock of all rendering units;
Closing the voltage and clock of the display units of all display channels;
The master clock frequency and the master supply voltage are reduced.
Specifically, after the graphics processor enters the sleep mode, the internal power supplies and clocks of all the rendering units and the display units are turned off, the working frequency of the main clock and the working voltage of the main power supply can be reduced to the minimum, and the control unit program continues to detect the access detection signal of the display terminal.
When the detecting unit detects that the display terminal is connected to or disconnected from the graphic processor, the control unit updates the detecting state of the display terminal, but does not change the power state and the clock state of the internal rendering unit and the display unit, and keeps dormant.
In the embodiment, the power supply, the clock, the main power supply and the main clock of the display unit and the rendering unit of the graphics processor are controlled in the sleep mode through detecting the connection and disconnection of the display terminal, so that the aim of effectively reducing the power consumption is fulfilled.
In one embodiment, the method further comprises:
if the graphics processor is switched from the sleep mode to any working mode, the following steps are executed again:
determining a current working mode of the graphic processor;
If the display terminal is detected to be connected, a power supply and a clock of a first working unit corresponding to the graphic processor are turned on according to the current working mode, wherein the first working unit comprises at least one of a rendering unit and a display unit;
And in the current working mode, if the display terminal is disconnected from the graphic processor, closing the power supply and the clock of a corresponding second working unit of the graphic processor.
Specifically, if the graphics processor is switched from the sleep mode to any one of the performance model or the balance mode, a low-power control strategy of the graphics processor in the corresponding working mode is executed.
More specifically, after the CPU processor issues a mode conversion command, the graphics processor shifts to a corresponding operation mode, in which the main clock frequency and the main power supply operating voltage are increased, the power supply and the clock of the corresponding display unit are turned on, and the power supply and the clock of part or all of the rendering units are turned on. At this time, if a display terminal is connected or disconnected, executing a power consumption management strategy under a corresponding working mode. With specific reference to the foregoing description, details are not repeated here.
The embodiment realizes that the corresponding power consumption management strategy is executed again under the condition that the sleep mode is switched to any one working mode, so that the graphics processor can realize corresponding power consumption management under any mode, and the power consumption is effectively reduced.
Referring to fig. 2, in one embodiment, the present application also provides a graphic processing system including a graphic processor 01, the graphic processor 01 including: the display device comprises a control unit 10, a display unit 20, a rendering unit 30, a display unit clock 21 and a display unit power supply 22 corresponding to the display unit 20, a rendering unit clock 31 and a rendering unit power supply 32 corresponding to the rendering unit 30, and at least one detection unit 40, wherein each detection unit 40 comprises a connection interface and a detection circuit, and the graphic processor 01 can be connected with an external display terminal 50 through the connection interface;
The detecting unit 40 is configured to detect a connection condition between the graphic processor 01 and the display terminal 50 through the detecting circuit;
the detecting unit 40 is configured to send an access detection signal for indicating that the display terminal 50 is accessed to the graphics processor 01 to the control unit 10 if the display terminal 50 is detected to be accessed to the graphics processor 01, and send a disconnection detection signal for indicating that the display terminal 50 is disconnected from the graphics processor 01 to the control unit 10 if the display terminal 50 is detected to be disconnected from the graphics processor 01;
The control unit 10 is configured to determine a current working mode of the graphics processor 01, and if it is determined that the display terminal 50 is connected according to the received connection detection signal, turn on a power supply and a clock of a first working unit corresponding to the graphics processor 01 according to the current working mode, where the first working unit includes at least one of the rendering unit 30 and the display unit 20;
The control unit 10 is further configured to, in the current operation mode, turn off the power supply and the clock of the corresponding second operation unit of the graphics processor 01 if it is determined that the display terminal 50 is disconnected from the graphics processor 01 according to the received disconnection detection signal.
Specifically, fig. 2 shows a schematic diagram of a display terminal 50 connected in a 2-way connection interface. It should be noted that fig. 2 is only an exemplary illustration, and the present application does not limit the number of graphics processors 01 accessing the display terminal 50.
Of course, the graphics processing system shown in fig. 2 is merely an exemplary example, and the actual graphics processing system includes a plurality of display channels, each corresponding to one display terminal 50, each including a plurality of rendering units 30, and the number of rendering units 30 is specifically determined according to the actual situation, which is not limited by the present application.
The control unit 10 may run a software program responsible for managing state transitions of other functional units in the power management of the present application.
The rendering unit 30 is a functional unit in the graphics processor 01 responsible for calculation and result output of the entire picture rendering flow, and is composed of hundreds or even thousands of processors. The power and clock in the rendering unit 30 may be turned on and off by the control unit 10. The more processors that are turned on, the greater the power consumption.
The display unit 20 is a functional unit responsible for displaying pictures in the graphic processor 01, and the number thereof is determined by the display terminals 50 supported by the graphic processor 01. The power supply and clock of the display unit 20 may be turned on and off by the control unit 10. The more display elements 20 that are turned on, the greater the power consumption.
Wherein the display unit 20 and the rendering unit 30 may communicate with the control unit 10 via BUS.
The detection circuit determines whether the display terminal 50 is connected to the corresponding display channel of the graphic processor 01 or whether the display terminal 50 is disconnected from the graphic processor 01 by detecting the voltage of the target pin of the connection interface of the graphic processor 01 and the display terminal 50.
The different display terminals 50 are connected to the graphics processor 01 through different connection interfaces. In fig. 2, two different display terminals 50 are respectively connected to the graphics processor 01 through two different connection interfaces, and each connection interface corresponds to one detection circuit. The detection circuit is also connected to the control unit 10 (not shown in the figures).
In one embodiment, the graphics processing system further includes a CPU processor 02;
A CPU processor 02 for issuing a mode switching instruction to the graphic processor 01;
The graphics processor 01 is configured to switch to an indicated target mode according to a mode switching instruction, where the target mode is a working mode or a sleep mode, and the working mode is one of a performance mode and a balance mode.
In one embodiment, graphics processor 0101 further comprises: a master clock 60, a master power supply 70.
The main power supply is used for providing working voltage for the graphic processor 01, and the control unit 10 can adjust the output voltage of the main power supply according to different power consumption levels, and the higher the voltage is, the larger the power consumption is.
The master clock is used for providing the working frequency for the graphic processor 01, and the control unit 10 can adjust the output frequency of the master clock according to different power consumption levels, and the higher the frequency is, the greater the power consumption is.
In one embodiment, the connection interface is an HDMI interface, and the access detection signal and the disconnection detection signal are obtained according to an HPD detection signal of the HDMI interface.
Specifically, the HDMI standard defines an HDMI interface, and a high-definition multimedia interface (High Definition Multimedia Interface, HDMI) is a full-digital video and audio transmission interface that can transmit uncompressed audio and video signals. HDMI can be used for set top boxes, DVD players, personal computers, televisions, game consoles, combination expansion machines, digital audio and television sets, and other devices. HDMI can send audio frequency and video signal simultaneously, because audio frequency and video signal adopt same wire rod, simplify the installation degree of difficulty of system's circuit greatly.
The voltage of one target PIN (for example, PIN 19) of the HDMI interface, the level of which is high when the HDMI-enabled display device is accessed, serves as HPD (hot plug detect) signal. When the display device is not connected, the level of the target pin is low. The HPD signal passes through a detection circuit, which is connected to the control unit 10, and transmits the detection signal to the control unit 10 as a trigger condition for power consumption management of the control unit 10.
The display terminal 50 supports an HDMI interface, receives the image data output from the graphic processor 01 display unit 20 and displays the image on a screen. When the display terminal 50 is connected to the graphics processor 01 through the HDMI connection line, the HDMI interface generates a high-level HPD signal, and when the display terminal 50 is disconnected from the graphics processor 01, the HDMI interface generates a low-level HPD signal. The HPD signal is detected by the detection circuit.
More specifically, the function of the target PIN (e.g., PIN 19 PIN) of the HDMI interface is Hot Plug Detection (HPD). The HPD is a detection signal generated from the HDMI display terminal 50 and output to the HDMI source (graphic processor 01), and functions to enable the HDMI source (graphic processor 01) to detect this event through the HPD pin (target pin) of the HDMI when the display terminal 50 is connected or disconnected to the HDMI source (graphic processor 01), and respond. Meanwhile, the HPD signal will be used as a basis for whether the HDMI source (graphics processor 01) initiates EDID reading, and whether to start transmitting TMDS signals (minimize transmission differential signal (Transition Minimized DIFFERENTIAL SIGNAL)).
When the HDMI source (graphic processor 01) detects that the display terminal 50 is connected through the HPD pin of the HDMI interface, EDID data stored in the display terminal 50 is read through the DDC I2C bus, and if it is detected that the operation mode range of the display terminal 50 is compatible with the output setting of the HDMI source (graphic processor 01), the TMDS signal transmission circuit is activated to transmit a normal HDMI signal to the display device. If the display terminal 50 needs to refresh the EDID (external display device identification data (Extended Display Identification Data)), an HPD signal (pull down HPD, and pull up HPD) may be initiated to allow the graphic processor 01 to read new EDID content again.
When the HDMI source (graphic processor 01) detects that the display terminal 50 is disconnected through the HPD pin, the HDMI source (graphic processor 01) turns off the TMDS signal transmission circuit, stopping transmitting the HDMI signal.
The requirement of the HDMI standard on the HPD signal, when the HDMI source (the graphic processor 01) detects that the HPD pin voltage on the HDMI interface is greater than 2V, the HDMI display device is judged to be connected with the HDMI source (the graphic processor 01); when the HPD pin voltage is detected to be less than 0.8V, it is determined that the HDMI display device is disconnected from the HDMI source (graphics processor 01).
After the graphic processor 01 is powered on, the main power supply and the main clock are started normally by default, so that the software in the control unit 10 is ensured to be started normally, and the graphic processor 01 enters a performance mode.
When the detection circuit detects that the display terminal 50 is connected to and transmitted to the control unit 10, the control unit 10 turns on the internal power supply and clock of the corresponding display unit 20 and turns on all the rendering units 30.
When the display terminal 50 is not detected to be connected, the control unit 10 turns on only the power and clock of the partial rendering unit 30. The number of rendering units 30 opened by the control unit 10 may be set according to actual requirements, and the present application is not limited.
When it is detected that the display terminal 50 is unplugged, the control unit 10 turns off the power and clock of the display unit 20 of the corresponding channel and turns off the power and clock of the partial rendering unit 30. The number of rendering units 30 turned off by the control unit 10 can be adjusted according to actual requirements, and the present application is not limited. Finally, the control unit 10 reduces the operating voltage of the main power supply and the operating frequency of the main clock to reduce power consumption.
The CPU processor may issue a mode switch command via the PCIe interface and the graphics processor 01 may switch back and forth between different modes.
Specific power management functions of the graphics processing system are described above and will not be described in detail herein.
The present embodiment adopts a power consumption management strategy different from the conventional one, and increases the detection of the plug signal of the display terminal 50 as the power consumption management strategy. The detection of the connection or disconnection of the external display equipment is increased, and the connection or disconnection of the related unit module and even the rendering unit 30 in the graphics processor 01 is controlled according to the detection condition of the connection or disconnection of the display equipment, so that the performance of the graphics processor 01 is optimized, the idle work is reduced, and the purposes of effectively managing and reducing the power consumption of the graphics processor 01 are achieved.
In one embodiment, one end of the first resistor of the detection circuit is connected with the target pin of the connection interface, the other end of the first resistor is connected with one end of the first resistor and one end of the second resistor of the switching tube respectively, the other end of the second resistor is grounded, the second end of the switching tube is grounded, the third end of the switching tube is connected with one end of the third resistor and the graphics processor 01 respectively, the other end of the third resistor is connected with the power supply, and the connection interface is used for connecting the graphics processor 01 with the display terminal 50.
Specifically, in order to transmit the HPD signal of the HDMI interface to the control unit 10, the present application requires a signal detection circuit. Fig. 3 is a circuit diagram of a detection circuit in an embodiment of the present application, referring TO fig. 3, one end of a first resistor R100 of the detection circuit is connected TO a target pin of a connection interface TO obtain an HPD signal, the other end of the first resistor R100 is connected TO a first end of a switching tube Q4 and one end of a second resistor R101, the other end of the second resistor R101 is grounded, a second end of the switching tube Q4 is grounded, a third end of the switching tube Q4 is connected TO one end of a third resistor R102 and a graphics processor 01, a third end of the switching tube Q4 is used for transmitting a detection signal, i.e., an hpd_to_gpu signal, TO a control unit 10 of the graphics processor 01, and the other end of the third resistor R102 is connected TO a power VCC, where the connection interface is used for connecting the graphics processor 01 and the display terminal 50.
The switching transistor Q4 may be a triode or a MOS transistor, which is not limited in the present application.
When the display terminal 50 is not accessed, the HPD signal is low, the hpd_to_gpu signal is high, and the hpd_to_gpu signal is an off detection signal. When the display terminal 50 is accessed, the HPD signal is high, the hpd_to_gpu signal is low, and the hpd_to_gpu signal is an access detection signal.
In addition, the HPD signal may be a GPIO signal, a play Port Hot Plug Detect signal, or other pins provided to the detection circuit of the graphics processor 01, which is not limited by the present application.
The present embodiment is based on the expansion of the HPD communication mode of the current HDMI, and does not affect any function existing in the HDMI at all.
In one embodiment, if the current operation mode is a performance mode, the control unit 10 is specifically configured to:
In the performance mode, if the presence of the access of the display terminal 50 is detected, turning on the power supply and the clock of the display unit 20 of the first display channel corresponding to the accessed display terminal 50 in the graphics processor 01, and turning on the power supply and the clock of all the rendering units 30 of the first display channel;
the control unit 10 is specifically configured to:
in the performance mode, if it is detected that the display terminal 50 is disconnected from the graphic processor 01, the power and clock of the display unit 20 of the second display channel corresponding to the disconnected display terminal 50 are turned off;
Or alternatively
The control unit 10 is specifically configured to:
In the performance mode, if it is detected that the display terminal 50 is disconnected from the graphic processor 01, the power and clock of the display unit 20 of the second display channel corresponding to the disconnected display terminal 50 are turned off,
The power and clock of the partial rendering unit 30 of the second display channel are turned off and/or the operating voltage of the main power supply and/or the operating frequency of the main clock are turned down.
In one embodiment, if the current operation mode is a performance mode, the control unit 10 is further configured to:
In the performance mode, if the access of the display terminal 50 is not detected, the power and clock of the partial rendering unit 30 are turned on according to a first preset policy.
In one embodiment, if the current operation mode is a balance mode, the control unit 10 is specifically configured to:
In the balance mode, if the display terminal 50 is detected to be connected, the power supply and the clock of the display unit 20 of the third display channel corresponding to the connected display terminal 50 in the graphic processor 01 are turned on;
at least one of the number of openings, the power supply voltage and the clock frequency of the rendering unit 30 of the third display channel is adjusted according to the load occupation situation of the graphics processor 01, wherein the load occupation situation of the graphics processor 01 comprises at least one of the number of running rendering units 30 and the memory occupation situation.
In one embodiment, the control unit 10 is specifically configured to:
If the load occupancy of the graphic processor 01 indicates that the load occupancy exceeds the threshold upper limit, executing at least one of increasing the opening number of the rendering units 30 of the third display channel, increasing the power supply voltage of the rendering units 30 of the third display channel, increasing the clock frequency of the rendering units 30 of the third display channel, increasing the output voltage of the main power supply, and increasing the output frequency of the main clock until the load occupancy does not exceed the threshold upper limit or all rendering units 30 have been opened;
If the load occupancy of the graphic processor 01 indicates that the load occupancy is lower than the threshold lower limit, at least one of reducing the number of open rendering units 30 of the third display channel, reducing the power supply voltage of the rendering units 30 of the third display channel, reducing the clock frequency of the rendering units 30 of the third display channel, reducing the output voltage of the main power supply, and reducing the output frequency of the main clock is performed until the load occupancy is not lower than the threshold lower limit or the number of all rendering units 30 that have been turned off or rendering units 30 that remain open reaches a minimum number threshold.
In one embodiment, if the current operation mode is a balance mode, the control unit 10 is further configured to:
In the balance mode, if it is detected that the display terminal 50 is disconnected from the graphic processor 01, the power and clock of the display unit 20 of the fourth display channel corresponding to the disconnected display terminal 50 are turned off;
The power supply voltage and clock frequency of the rendering unit 30 of the fourth display channel are adjusted according to the load occupation situation of the graphic processor 01, or the power supply and clock of a part of the rendering unit 30 of the fourth display channel are turned off.
In one embodiment, the current operation mode is one of a performance mode and a balance mode;
if the graphics processor 01 is switched from the current operation mode to the sleep mode, the control unit 10 is further configured to:
Turning off power and clocks of all rendering units 30;
the voltage and clock of the display unit 20 closing all display channels;
The master clock frequency and the master supply voltage are reduced.
In one embodiment, if the graphics processor 01 is switched from the sleep mode to any operation mode, the control unit 10 is further configured to: determining a current working mode of the graphic processor 01;
if the presence of the access of the display terminal 50 is detected, turning on a power supply and a clock of a corresponding first working unit of the graphic processor 01 according to the current working mode, wherein the first working unit comprises at least one of a rendering unit 30 and a display unit 20;
In the current operation mode, if it is detected that the display terminal 50 is disconnected from the graphic processor 01, the power and the clock of the corresponding second operation unit of the graphic processor 01 are turned off.
FIG. 4 is a diagram illustrating low power control of a graphics processing system according to an embodiment of the present application; referring TO fig. 4, the graphic processor is connected with the display terminal through the HDMI PHY, the HDMI connection interface, and the HDMI line in sequence, and the detection circuit may acquire an HPD signal from a target pin of the HDMI connection interface and convert the HPD signal into an hpd_to_gpu signal; the HPD_TO_GPU signal is converted into an IRQ signal by the conversion unit, and the IRQ signal is provided for the control unit; the conversion unit may be integrated in the control unit. The control unit controls the turn-off or turn-on of the display unit power supply, the display unit clock, the rendering unit power supply and the rendering unit clock and the adjustment of the frequency and the power supply according to the IRQ signal.
In addition, the control unit also obtains an HPD ' signal from the IRQ signal, and supplies the HPD ' signal to the HDMI PHY, the HPD ' signal being equivalent to an analog signal of the HPD. In the prior art, the HPD signal is directly supplied to the HDMI PHY, and the embodiment converts the HPD signal into a signal for controlling the clock and the power supply, so that the control unit needs to simulate an HPD' signal to ensure the normal operation of the HDMI PHY.
The HDMI PHY is a physical layer signal conversion layer defined by the HDMI specification, and an HDMI protocol is used to convert a physical signal into a digital signal.
The HDMI controller is a component part of the display unit and is responsible for converting the data drawn by the rendering unit into HDMI standard data stream or standard signals (such as TMDS signals and the like), and then transmitting the HDMI standard data stream or standard signals to the display terminal through HDMI PHY and HDMI connection interfaces.
The application provides a graphic processor, which realizes the power consumption management of the graphic processor by detecting the plugging and unplugging method of an external display device and matching with a linkage control mechanism of an internal display unit and a rendering unit; supporting signal detection of a single graphic processor connected with multiple display devices; based on the expansion of the HPD communication mode of the current HDMI, any function existing in the HDMI is not affected at all; the power supply and the clock of the display unit in the graphic processor can be turned on and turned off according to the detection condition; the power supply and the clock of the rendering unit in the graphic processor can be turned on and turned off according to the detection condition; and the graphic processor adjusts the whole working voltage and the working frequency of the graphic processor according to the detection condition. The graphics processor manages power consumption in different modes of operation.
FIG. 5 illustrates an internal block diagram of a computer device in one embodiment. The computer device is in particular a graphics processor. As shown in fig. 5, the computer device includes a processor, a memory, and a network interface connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and may also store a computer program which, when executed by a processor, causes the processor to implement the steps of the method embodiments described above. The internal memory may also have stored therein a computer program which, when executed by a processor, causes the processor to perform the steps of the method embodiments described above. It will be appreciated by those skilled in the art that the structure shown in FIG. 5 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is presented comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
determining a current working mode of the graphic processor;
If the display terminal is detected to be connected, a power supply and a clock of a first working unit corresponding to the graphic processor are turned on according to the current working mode, wherein the first working unit comprises at least one of a rendering unit and a display unit;
And in the current working mode, if the display terminal is disconnected from the graphic processor, closing the power supply and the clock of a corresponding second working unit of the graphic processor.
In one embodiment, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
determining a current working mode of the graphic processor;
If the display terminal is detected to be connected, a power supply and a clock of a first working unit corresponding to the graphic processor are turned on according to the current working mode, wherein the first working unit comprises at least one of a rendering unit and a display unit;
And in the current working mode, if the display terminal is disconnected from the graphic processor, closing the power supply and the clock of a corresponding second working unit of the graphic processor.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a non-transitory computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A method for controlling low power consumption of a graphics processor, the method comprising:
determining a current working mode of the graphic processor;
If the display terminal is detected to be connected, a power supply and a clock of a first working unit corresponding to the graphic processor are turned on according to the current working mode, wherein the first working unit comprises at least one of a rendering unit and a display unit;
And in the current working mode, if the display terminal is disconnected from the graphic processor, closing the power supply and the clock of a corresponding second working unit of the graphic processor.
2. The method according to claim 1, wherein if the current operation mode is a performance mode, the step of turning on the power and the clock of the corresponding first operation unit of the graphics processor according to the current operation mode if it is detected that there is an access of the display terminal includes:
in the performance mode, if the presence of the access of the display terminal is detected, turning on the power supply and the clock of the display unit of the first display channel corresponding to the accessed display terminal in the graphic processor, and turning on the power supply and the clock of all the rendering units of the first display channel;
if the display terminal is detected to be disconnected from the graphic processor, the power supply and the clock of the corresponding second working unit of the graphic processor are closed, and the method comprises the following steps:
in the performance mode, if the display terminal is detected to be disconnected from the graphic processor, the power supply and the clock of the display unit of the second display channel corresponding to the disconnected display terminal are turned off;
Or alternatively
If the display terminal is detected to be disconnected from the graphic processor, the power supply and the clock of the corresponding second working unit of the graphic processor are closed, and the method comprises the following steps:
In the performance mode, if the display terminal is detected to be disconnected from the graphic processor, the power supply and the clock of the display unit of the second display channel corresponding to the disconnected display terminal are turned off,
And closing the power supply and the clock of part of the rendering units of the second display channel, and/or reducing the working voltage of the main power supply and/or the working frequency of the main clock.
3. The method of claim 1, wherein if the current operating mode is a performance mode, the method further comprises:
in the performance mode, if the display terminal is not detected to be accessed, the power supply and the clock of the partial rendering unit are turned on according to a first preset strategy.
4. The method according to claim 1, wherein if the current operation mode is a balanced mode, the step of turning on the power and the clock of the corresponding first operation unit of the graphics processor according to the current operation mode if the presence of the display terminal access is detected includes:
In the balance mode, if the display terminal is detected to be connected, a power supply and a clock of a display unit of a third display channel corresponding to the connected display terminal in the graphic processor are turned on;
And adjusting at least one of the opening number, the power supply voltage and the clock frequency of the rendering units of the third display channel according to the load occupation condition of the graphic processor, wherein the load occupation condition of the graphic processor comprises at least one of the running number and the memory occupation condition of the current rendering units.
5. The method of claim 4, wherein adjusting at least one of an open number, a supply voltage, and a clock frequency of the rendering unit of the third display channel according to a graphics processor load occupancy condition comprises:
If the load occupation condition of the graphic processor indicates that the load occupation rate exceeds the upper threshold, executing at least one of increasing the opening number of the rendering units of the third display channel, increasing the power supply voltage of the rendering units of the third display channel, increasing the clock frequency of the rendering units of the third display channel, increasing the output voltage of a main power supply and increasing the output frequency of a main clock until the load occupation rate does not exceed the upper threshold or all the rendering units are opened;
And if the load occupation condition of the graphic processor indicates that the load occupation rate is lower than the lower threshold limit, executing at least one of reducing the opening number of the rendering units of the third display channel, reducing the power supply voltage of the rendering units of the third display channel, reducing the clock frequency of the rendering units of the third display channel, reducing the output voltage of a main power supply and reducing the output frequency of the main clock until the load occupation rate is not lower than the lower threshold limit or the number of all the rendering units which are closed or rendering units which remain in an open state reaches the minimum number threshold.
6. The method according to claim 1, wherein if the current operation mode is a balance mode, the step of turning off the power and the clock of the second operation unit corresponding to the graphics processor if it is detected that the display terminal is disconnected from the graphics processor includes:
In the balance mode, if the display terminal is detected to be disconnected from the graphic processor, the power supply and the clock of the display unit of the fourth display channel corresponding to the disconnected display terminal are turned off;
and adjusting the power supply voltage and the clock frequency of the rendering unit of the fourth display channel according to the load occupation condition of the graphic processor, or closing the power supply and the clock of part of the rendering units of the fourth display channel.
7. The method of claim 1, wherein the current operating mode is one of a performance mode and a balance mode;
if the graphics processor is switched from the current working mode to the sleep mode, the method further comprises:
Closing the power supply and the clock of all rendering units;
Closing the voltage and clock of the display units of all display channels;
The master clock frequency and the master supply voltage are reduced.
8. The method of claim 7, wherein the method further comprises:
if the graphics processor is switched from the sleep mode to any working mode, the following steps are executed again:
determining a current working mode of the graphic processor;
If the display terminal is detected to be connected, a power supply and a clock of a first working unit corresponding to the graphic processor are turned on according to the current working mode, wherein the first working unit comprises at least one of a rendering unit and a display unit;
And in the current working mode, if the display terminal is disconnected from the graphic processor, closing the power supply and the clock of a corresponding second working unit of the graphic processor.
9. A graphics processing system, the graphics processing system comprising a graphics processor, the graphics processor comprising: the display device comprises a control unit, a display unit, a rendering unit, a display unit clock and a display unit power supply corresponding to the display unit, a rendering unit clock and a rendering unit power supply corresponding to the rendering unit and at least one detection unit, wherein each detection unit comprises a connection interface and a detection circuit, and the graphic processor can be connected with an external display terminal through the connection interface;
the detection unit is used for detecting the connection condition of the graphic processor and the display terminal through the detection circuit;
the detecting unit is used for sending an access detecting signal for indicating that the display terminal is accessed to the graphic processor if the display terminal is detected to be accessed to the graphic processor, and sending a disconnection detecting signal for indicating that the display terminal is disconnected from the graphic processor if the display terminal is detected to be disconnected from the graphic processor;
the control unit is used for determining a current working mode of the graphic processor, and if the fact that the display terminal is accessed is determined to exist according to the received access detection signal, a power supply and a clock of a first working unit corresponding to the graphic processor are turned on according to the current working mode, wherein the first working unit comprises at least one of a rendering unit and a display unit;
And the control unit is also used for closing the power supply and the clock of the second working unit corresponding to the graphic processor if the fact that the display terminal is disconnected from the graphic processor is detected according to the received disconnection detection signal in the current working mode.
10. The system of claim 9, wherein one end of the first resistor of the detection circuit is connected to the target pin of the connection interface, the other end of the first resistor is connected to the first end of the switching tube and one end of the second resistor, the other end of the second resistor is grounded, the second end of the switching tube is grounded, the third end of the switching tube is connected to one end of the third resistor and the graphics processor, and the other end of the third resistor is connected to the power supply, and the connection interface is used for connecting the graphics processor and the display terminal.
CN202410503361.1A 2024-04-25 2024-04-25 Low-power consumption control method and system for graphic processor Active CN118068949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410503361.1A CN118068949B (en) 2024-04-25 2024-04-25 Low-power consumption control method and system for graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410503361.1A CN118068949B (en) 2024-04-25 2024-04-25 Low-power consumption control method and system for graphic processor

Publications (2)

Publication Number Publication Date
CN118068949A true CN118068949A (en) 2024-05-24
CN118068949B CN118068949B (en) 2024-07-19

Family

ID=91095914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410503361.1A Active CN118068949B (en) 2024-04-25 2024-04-25 Low-power consumption control method and system for graphic processor

Country Status (1)

Country Link
CN (1) CN118068949B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110267359A1 (en) * 2010-04-29 2011-11-03 Apple Inc. Systems and methods for hot plug gpu power control
US20140118367A1 (en) * 2012-10-29 2014-05-01 Inventec Corporation Electronic device and power control method thereof
CN116860693A (en) * 2023-05-26 2023-10-10 联想(北京)有限公司 Control method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110267359A1 (en) * 2010-04-29 2011-11-03 Apple Inc. Systems and methods for hot plug gpu power control
US20140118367A1 (en) * 2012-10-29 2014-05-01 Inventec Corporation Electronic device and power control method thereof
CN116860693A (en) * 2023-05-26 2023-10-10 联想(北京)有限公司 Control method and device and electronic equipment

Also Published As

Publication number Publication date
CN118068949B (en) 2024-07-19

Similar Documents

Publication Publication Date Title
CN102841799B (en) Support the method and apparatus being coupled to the self-refresh display device of graphics controller
US9052902B2 (en) Techniques to transmit commands to a target device to reduce power consumption
CN102682682B (en) For controlling the method and system of the display device with self-refresh ability
CN102841671B (en) Support the method and apparatus being coupled to the self-refresh display device of graphics controller
US8841886B2 (en) Power charging of mobile devices via a HDMI interface
US8941592B2 (en) Techniques to control display activity
KR101577855B1 (en) Protocol extensions in a display port compatible interface
CN101395656B (en) Image control apparatus and image control method
US20120272088A1 (en) Dynamic bus clock rate adjusting method and device
US8937621B2 (en) Method and system for display output stutter
US11375270B2 (en) Cable, method of controlling cable, connection device, electronic device, and method of controlling electronic device
CN118068949B (en) Low-power consumption control method and system for graphic processor
CN108831407A (en) Display controller and its power-economizing method and display device
CN117112475A (en) I2C bus driving capability automatic regulating system and method
US8395483B2 (en) Power controller for an electronic reader device
US10013046B2 (en) Power management techniques
CN105242591B (en) A kind of input/output interface combination system
WO2022116349A1 (en) I2c-based line switching circuit and communication system
CN103853305A (en) Power management method and electronic device
WO2023283770A1 (en) Electrical signal transmission method, electrical signal transmission control chip, and electrical signal transmission system
CN117762236A (en) Memory, memory control device, system on chip and terminal equipment
CN114924638A (en) Cruising method and system applied to 5G tablet computer and terminal equipment
CN118092840A (en) LED display processing method, device and computer program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant