[go: up one dir, main page]

TWI499903B - Electronic apparatus and power controlling method - Google Patents

Electronic apparatus and power controlling method Download PDF

Info

Publication number
TWI499903B
TWI499903B TW101141046A TW101141046A TWI499903B TW I499903 B TWI499903 B TW I499903B TW 101141046 A TW101141046 A TW 101141046A TW 101141046 A TW101141046 A TW 101141046A TW I499903 B TWI499903 B TW I499903B
Authority
TW
Taiwan
Prior art keywords
processing unit
graphics processing
power supply
output
electronic device
Prior art date
Application number
TW101141046A
Other languages
Chinese (zh)
Other versions
TW201418969A (en
Inventor
Shih Jie Chen
Sean Hau Chang
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW101141046A priority Critical patent/TWI499903B/en
Publication of TW201418969A publication Critical patent/TW201418969A/en
Application granted granted Critical
Publication of TWI499903B publication Critical patent/TWI499903B/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)

Description

電子裝置與電源控制方法Electronic device and power control method

本發明是有關於一種電源控制技術,且特別是有關於一種具有圖形處理單元的電子裝置與其電源控制方法。The present invention relates to a power control technique, and more particularly to an electronic device having a graphics processing unit and a power control method thereof.

中央處理單元(Central Processing Unit,CPU)為具有電腦系統的電子裝置用來執行及運算演算法的主要工具。除了中央處理單元之外,為了能夠應付日漸增加的影像處理需求,配置於主機板上的顯示卡也大多配備有獨立的圖形處理單元(Graphic Processing Unit,GPU)及顯示記憶體,以加快影像資訊的處理速度。The Central Processing Unit (CPU) is the primary tool used by electronic devices with computer systems to execute and manipulate algorithms. In addition to the central processing unit, in order to cope with the increasing image processing requirements, the display cards disposed on the motherboard are mostly equipped with independent graphics processing units (GPUs) and display memory to speed up the image information. Processing speed.

一般圖形處理單元的架構可分為離散式圖形處理單元(Discrete GPU)以及統一記憶體架構式圖形處理單元(Unified Memory Architecture(UMA)GPU)。其中,對於離散式圖形處理單元而言,影像資訊的輸出介面例如顯示埠(Display Port,DP)、影像圖形陣列(Video Graphics Array,VGA)、電壓差動訊號(Low-voltage Differential Signaling,LVDS)介面、高解析多媒體介面(High Definition Multimedia Interface,HDMI)或數位視訊介面(Digital Visual Interface,DVI),皆會與圖形處理單元一起配置在同一晶片上。The architecture of a general graphics processing unit can be divided into a discrete graphics processing unit (Discrete GPU) and a unified memory architecture (UMA) GPU. For the discrete graphics processing unit, the output interface of the image information is, for example, display port (DP), video graphics array (VGA), and low-voltage differential signaling (LVDS). The interface, the High Definition Multimedia Interface (HDMI) or the Digital Visual Interface (DVI) are all placed on the same chip together with the graphics processing unit.

然而,隨著圖形處理單元的繪圖功能之增強,圖形處理單元以及上述輸出介面在運作時所需的電量需求亦會大幅上升。此外,為了取得運作時所需的電量,部分高階圖 形處理單元會增加與傳輸電源連接的接頭數目,以取得較大的電量。因此,習知的圖形處理單元常會消耗許多電源,且由於圖形處理單元的接頭的增加,廠商在製造圖形處理單元時亦會花上較高的成本。However, as the graphics function of the graphics processing unit is enhanced, the power requirements of the graphics processing unit and the output interface described above will also increase significantly. In addition, in order to obtain the power required for operation, some high-order maps The processing unit increases the number of connectors connected to the transmission power source to obtain a larger amount of power. Therefore, conventional graphics processing units often consume a lot of power, and due to the increase in the number of connectors of the graphics processing unit, manufacturers also spend a higher cost in manufacturing the graphics processing unit.

本發明提供一種電子裝置與電源控制方法,其可降低電子裝置中的電源消耗,使電子裝置達到省電的效果。The invention provides an electronic device and a power control method, which can reduce power consumption in an electronic device and achieve an energy saving effect of the electronic device.

本發明提出一種電子裝置,其包括中央處理單元(Central Processing Unit,CPU)以及圖形處理單元(Graphic Processing Unit,GPU)。圖形處理單元耦接中央處理單元。圖形處理單元包括多個輸出介面。在透過輸出介面與擴充裝置耦接的情況下,供電至圖形處理單元與輸出介面。在輸出介面未與擴充裝置耦接的情況下,當電子裝置處於第一供電模式時,停止供電至圖形處理單元與輸出介面,以及當電子裝置處於第二供電模式時,供電至圖形處理單元以及停止供電至輸出介面。The present invention provides an electronic device including a central processing unit (CPU) and a graphics processing unit (GPU). The graphics processing unit is coupled to the central processing unit. The graphics processing unit includes a plurality of output interfaces. When coupled to the expansion device through the output interface, power is supplied to the graphics processing unit and the output interface. When the output interface is not coupled to the expansion device, when the electronic device is in the first power supply mode, power is stopped to the graphics processing unit and the output interface, and when the electronic device is in the second power supply mode, power is supplied to the graphics processing unit and Stop powering to the output interface.

在本發明之一實施例中,上述之電子裝置更包括晶片組單元。晶片組單元耦接至中央處理單元與圖形處理單元。晶片組單元包括第一輸入輸出介面以及第二輸入輸出介面。第一輸入輸出介面控制圖形處理單元的供電與否。第二輸入輸出介面控制圖形處理單元的輸出介面的供電與否。In an embodiment of the invention, the electronic device further includes a chip set unit. The chip set unit is coupled to the central processing unit and the graphics processing unit. The chipset unit includes a first input and output interface and a second input and output interface. The first input/output interface controls whether the graphics processing unit is powered or not. The second input/output interface controls whether the output interface of the graphics processing unit is powered or not.

在本發明之一實施例中,在透過輸出介面與擴充裝置耦接的情況下,上述之晶片組單元透過輸出介面而自擴充 裝置接收第一通知訊號,藉以透過第一輸入輸出介面致能圖形處理單元的供電,以及透過第二輸入輸出介面致能圖形處理單元的輸出介面的供電。In an embodiment of the present invention, when the output interface is coupled to the expansion device, the chip unit is self-expanded through the output interface. The device receives the first notification signal, thereby enabling power supply of the graphics processing unit through the first input/output interface, and enabling power supply of the output interface of the graphics processing unit through the second input/output interface.

在本發明之一實施例中,在輸出介面未與擴充裝置耦接的情況下,上述之晶片組單元判斷電子裝置處於第一供電模式或第二供電模式。當電子裝置處於第一供電模式時,透過第一輸入輸出介面禁能圖形處理單元的供電,以及透過第二輸入輸出介面禁能圖形處理單元的輸出介面的供電。當電子裝置處於第二供電模式時,透過第一輸入輸出介面致能圖形處理單元的供電,以及透過第二輸入輸出介面禁能圖形處理單元的輸出介面的供電。In an embodiment of the invention, in the case that the output interface is not coupled to the expansion device, the chip set unit determines that the electronic device is in the first power supply mode or the second power supply mode. When the electronic device is in the first power supply mode, the power supply of the graphics processing unit is disabled through the first input/output interface, and the power supply of the output interface of the graphics processing unit is disabled through the second input/output interface. When the electronic device is in the second power supply mode, the power supply of the graphics processing unit is enabled through the first input/output interface, and the power supply of the output interface of the graphics processing unit is disabled through the second input/output interface.

在本發明之一實施例中,上述之電子裝置更包括多個輸出埠單元。中央處理單元包括多個連接埠介面,藉以透過連接介面分別耦接至輸出埠單元。In an embodiment of the invention, the electronic device further includes a plurality of output buffer units. The central processing unit includes a plurality of interface interfaces for coupling to the output port unit through the connection interface.

本發明提出一種電源控制方法,用於電子裝置。電子裝置具有中央處理單元與圖形處理單元。於電源控制方法中,在圖形處理單元的多個輸出介面與一擴充裝置耦接的情況下,分別致能圖形處理單元與輸出介面的供電。在輸出介面未與擴充裝置耦接的情況下,當電子裝置處於一第一供電模式時,分別禁能圖形處理單元與輸出介面的供電,以及當電子裝置處於一第二供電模式時,致能圖形處理單元的供電,且禁能輸出介面的供電。The present invention provides a power control method for an electronic device. The electronic device has a central processing unit and a graphics processing unit. In the power control method, in a case where a plurality of output interfaces of the graphics processing unit are coupled to an expansion device, power supply between the graphics processing unit and the output interface is respectively enabled. When the output interface is not coupled to the expansion device, when the electronic device is in a first power supply mode, the power supply of the graphics processing unit and the output interface is disabled, and when the electronic device is in a second power supply mode, The power of the graphics processing unit is disabled and the power of the output interface is disabled.

在本發明之一實施例中,上述之電子裝置具有晶片組單元。在電源控制方法中,藉由晶片組單元的第一輸入輸 出介面控制圖形處理單元的供電與否,以及藉由晶片組單元的第二輸入輸出介面控制圖形處理單元的輸出介面的供電與否。In an embodiment of the invention, the electronic device described above has a chip set unit. In the power control method, the first input and output of the chip group unit The output interface controls the power supply of the graphics processing unit, and controls whether the output interface of the graphics processing unit is powered by the second input/output interface of the chipset unit.

在本發明之一實施例中,上述在圖形處理單元的輸出介面與擴充裝置耦接的情況下,分別致能圖形處理單元與輸出介面的供電的步驟中,包括透過第一輸入輸出介面致能圖形處理單元的供電,以及透過第二輸入輸出介面致能圖形處理單元的輸出介面的供電。In an embodiment of the present invention, in the case where the output interface of the graphics processing unit is coupled to the expansion device, the step of enabling the power supply of the graphics processing unit and the output interface respectively includes enabling the first input/output interface Powering the graphics processing unit and powering the output interface of the graphics processing unit through the second input and output interface.

在本發明之一實施例中,上述在輸出介面未與擴充裝置耦接的情況下,透過晶片組單元判斷電子裝置處於第一供電模式或第二供電模式。當電子裝置處於第一供電模式時,透過第一輸入輸出介面禁能圖形處理單元的供電,以及透過第二輸入輸出介面禁能圖形處理單元的輸出介面的供電。當電子裝置處於第二供電模式時,透過第一輸入輸出介面致能圖形處理單元的供電,以及透過第二輸入輸出介面禁能圖形處理單元的輸出介面的供電。In an embodiment of the invention, in the case that the output interface is not coupled to the expansion device, the electronic device is determined to be in the first power supply mode or the second power supply mode by the chipset unit. When the electronic device is in the first power supply mode, the power supply of the graphics processing unit is disabled through the first input/output interface, and the power supply of the output interface of the graphics processing unit is disabled through the second input/output interface. When the electronic device is in the second power supply mode, the power supply of the graphics processing unit is enabled through the first input/output interface, and the power supply of the output interface of the graphics processing unit is disabled through the second input/output interface.

在本發明之一實施例中,上述之電子裝置更包括多個輸出埠單元。在電源控制方法中,中央處理單元控制包括多個連接埠介面,以透過連接埠介面分別耦接至輸出埠單元。In an embodiment of the invention, the electronic device further includes a plurality of output buffer units. In the power control method, the central processing unit control includes a plurality of port interfaces for coupling to the output port unit through the port interface.

基於上述,電子裝置基於是否與擴充裝置耦接以及所處的供電模式來決定圖形處理單元及其輸出介面的供電與否。當圖形處理單元的輸出介面未耦接於擴充裝置時,電子裝置會禁能圖形處理單元的輸出介面的供電;當圖形處 理單元的輸出介面耦接於擴充裝置,而電子裝置可從擴充裝置接收外部的電源時,便可進一步致能圖形處理單元的供電。如此一來,電子裝置可降低內部所供應的電源消耗,且可具有良好的省電效果。Based on the above, the electronic device determines whether the graphics processing unit and its output interface are powered based on whether or not the expansion device is coupled and the power supply mode in which it is located. When the output interface of the graphics processing unit is not coupled to the expansion device, the electronic device disables the power supply of the output interface of the graphics processing unit; The output interface of the processing unit is coupled to the expansion device, and when the electronic device can receive an external power source from the expansion device, the power supply of the graphics processing unit can be further enabled. In this way, the electronic device can reduce the power consumption supplied internally, and can have a good power saving effect.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

本發明提供一種電子裝置與電源控制方法,其可依據電子裝置的供電模式來決定供電方式,藉以降低圖形處理單元在處理或輸出影像資訊時電子裝置中的電源消耗。為了使本發明之內容更容易明瞭,以下特舉實施例作為本發明確實能夠據以實施的範例。The present invention provides an electronic device and a power control method, which can determine a power supply mode according to a power supply mode of the electronic device, thereby reducing power consumption in the electronic device when the graphics processing unit processes or outputs image information. In order to make the content of the present invention easier to understand, the following specific embodiments are illustrative of the embodiments of the present invention.

第一實施例First embodiment

圖1是依照本發明第一實施例所繪示之電子裝置100的方塊圖。請參照圖1,電子裝置100例如是筆記型電腦、平板電腦、個人數位助理(Personal Digital Assistant,PDA)、手機、數位相機、電子書、遊戲機等電子裝置等,本發明並不對電子裝置100的種類加以限制。電子裝置100包括中央處理單元(Central Processing Unit,CPU)110以及圖形處理單元(Graphic Processing Unit,GPU)120。上述元件的功能分述如下。1 is a block diagram of an electronic device 100 in accordance with a first embodiment of the present invention. Referring to FIG. 1 , the electronic device 100 is, for example, a notebook computer, a tablet computer, a personal digital assistant (PDA), a mobile phone, a digital camera, an electronic book, a game machine, or the like. The present invention is not related to the electronic device 100. The type is limited. The electronic device 100 includes a central processing unit (CPU) 110 and a graphics processing unit (GPU) 120. The functions of the above elements are described below.

中央處理單元110用以控制電子裝置100的整體運作。在本實施例中,中央處理單元110可處理影像資訊的運算工作。舉例來說,當使用者不需要使電子裝置100執 行較高效能的影像資訊之處理時,電子裝置100可透過中央處理單元110來處理影像資訊。The central processing unit 110 is used to control the overall operation of the electronic device 100. In this embodiment, the central processing unit 110 can process the operation of the image information. For example, when the user does not need to make the electronic device 100 When processing the higher-performance image information, the electronic device 100 can process the image information through the central processing unit 110.

圖形處理單元120耦接中央處理單元110。例如,圖形處理單元120透過PEG(Peripheral Component Interconnect Express Graphic,PCI-E Graphic)匯流排耦接中央處理單元110。圖形處理單元120為用來專門處理影像資訊之運算工作的微處理器。舉例來說,當使用者欲使電子裝置100執行較高效能的影像資訊之處理時,電子裝置100則可透過圖形處理單元110來處理影像資訊。此外,圖形處理單元120可與中央處理單元110一起配置在電子裝置100的主機板(Motherboard)上,或者,圖形處理單元120可配置在獨立但電性耦接於中央處理單元110的處理卡(例如,圖像卡(Graphic card))上。The graphics processing unit 120 is coupled to the central processing unit 110. For example, the graphics processing unit 120 is coupled to the central processing unit 110 via a PEG (Peripheral Component Interconnect Express Graphic, PCI-E Graphic) bus bar. The graphics processing unit 120 is a microprocessor for specializing in the operation of image information. For example, when the user wants to enable the electronic device 100 to perform processing of the higher-performance image information, the electronic device 100 can process the image information through the graphic processing unit 110. In addition, the graphics processing unit 120 may be disposed on the motherboard of the electronic device 100 together with the central processing unit 110, or the graphics processing unit 120 may be configured on a processing card that is independently but electrically coupled to the central processing unit 110 ( For example, on a graphic card (Graphic card).

進一步而言,本實施例之圖形處理單元120具有多個輸出介面,在此以輸出介面122及124為例,但本實施例並不限制輸出介面的數量。輸出介面122及124例如是顯示埠(Display Port,DP)、影像圖形陣列(Video Graphics Array,VGA)介面、電壓差動訊號(Low-voltage Differential Signaling,LVDS)介面、高解析多媒體介面(HDMI)或數位視訊介面(Digital Visual Interface,DVI)等視訊傳輸介面,而圖形處理單元120可透過輸出介面122及124耦接於外部裝置,藉以將已處理的影像資訊(例如是視訊串流)輸出到外部裝置上,其中,外部裝置例如是擴充裝置10或其他具有相同上述之輸出介面的電子裝置。Further, the graphics processing unit 120 of this embodiment has multiple output interfaces. The output interfaces 122 and 124 are exemplified herein, but the embodiment does not limit the number of output interfaces. The output interfaces 122 and 124 are, for example, a display port (DP), a video graphics array (VGA) interface, a low-voltage differential signaling (LVDS) interface, and a high-resolution multimedia interface (HDMI). Or a video transmission interface such as a digital video interface (DVI), and the graphics processing unit 120 can be coupled to an external device through the output interfaces 122 and 124 to output processed image information (for example, video stream) to On the external device, the external device is, for example, the expansion device 10 or other electronic device having the same output interface as described above.

在本實施例中,輸出介面122可具有二組顯示埠,輸出介面124可具有一組VGA介面,且圖形處理單元120可透過輸出介面122及124來耦接於擴充裝置10,其中擴充裝置10例如是擴充底座(Docking station)。需說明的是,輸出介面122及124可配置於同一條纜線上,其中此纜線可選擇性地耦接於擴充裝置10,亦即,輸出介面122及124可同時與擴充裝置10耦接或不耦接。另外值得一提的是,由於擴充裝置10可經由外部的電源(例如是交流或直流電源)來供電,因此當圖形處理單元120透過輸出介面122及124而耦接於擴充裝置10時,擴充裝置10中的電源可經由輸出介面122及124而供電至圖形處理單元120,藉此,電子裝置100可經由擴充裝置10而由外部電源進行供電,進而減少電子裝置100的電池之電源消耗。In the present embodiment, the output interface 122 can have two sets of display ports, and the output interface 124 can have a set of VGA interfaces, and the graphics processing unit 120 can be coupled to the expansion device 10 through the output interfaces 122 and 124. For example, a docking station. It should be noted that the output interfaces 122 and 124 can be disposed on the same cable, wherein the cable can be selectively coupled to the expansion device 10, that is, the output interfaces 122 and 124 can be coupled to the expansion device 10 at the same time. Not coupled. In addition, it is worth mentioning that since the expansion device 10 can be powered by an external power source (for example, an AC or DC power source), when the graphics processing unit 120 is coupled to the expansion device 10 through the output interfaces 122 and 124, the expansion device The power source of the power supply 10 can be powered to the graphics processing unit 120 via the output interfaces 122 and 124. The electronic device 100 can be powered by the external power source via the expansion device 10, thereby reducing the power consumption of the battery of the electronic device 100.

底下即搭配上述電子裝置100來說明本實施例之電源控制方法的各步驟。圖2是依照本發明第一實施例所繪示之電源控制方法的流程圖。請同時參照圖1及圖2,於步驟S202中,電子裝置100會偵測圖形處理單元120的輸出介面122及124是否與擴充裝置10耦接。The steps of the power control method of the present embodiment will be described below with the electronic device 100 described above. 2 is a flow chart of a power control method according to a first embodiment of the present invention. Referring to FIG. 1 and FIG. 2 simultaneously, in step S202, the electronic device 100 detects whether the output interfaces 122 and 124 of the graphics processing unit 120 are coupled to the expansion device 10.

在圖形處理單元120的輸出介面122及124與擴充裝置10耦接的情況下,則如步驟S204所示,電子裝置100會分別致能圖形處理單元120與輸出介面122及124的供電。也就是說,此時擴充裝置10可提供電源給電子裝置100。因此,當電子裝置100耦接至擴充裝置10時,可直接致能圖形處理單元120與輸出介面122及124的供電, 藉此可利用圖形處理單元120進行影像資訊的處理,並經由輸出介面122或輸出介面124來輸出所處理的影像資訊至擴充裝置10。In the case where the output interfaces 122 and 124 of the graphics processing unit 120 are coupled to the expansion device 10, the electronic device 100 enables the power supply of the graphics processing unit 120 and the output interfaces 122 and 124, respectively, as shown in step S204. That is to say, at this time, the expansion device 10 can supply power to the electronic device 100. Therefore, when the electronic device 100 is coupled to the expansion device 10, the power supply of the graphics processing unit 120 and the output interfaces 122 and 124 can be directly enabled. Thereby, the image processing unit 120 can be used to process the image information, and the processed image information is output to the expansion device 10 via the output interface 122 or the output interface 124.

另一方面,在圖形處理單元120的輸出介面122及124未與擴充裝置10耦接的情況下,則如步驟S206所示,電子裝置100會進一步去偵測目前的供電模式是處於第一供電模式或第二供電模式。其中,第一供電模式例如為停止供電至圖形處理單元120及輸出介面112、124,第二供電模式例如為僅停止供電至圖形處理單元120的輸出介面112、124,而仍然繼續供電至圖形處理單元120。例如,第一供電模式為統一記憶體架構(Unified Memory Architecture,UMA)模式,而第二供電模式為離散(Discrete)模式。On the other hand, if the output interfaces 122 and 124 of the graphics processing unit 120 are not coupled to the expansion device 10, as shown in step S206, the electronic device 100 further detects that the current power supply mode is in the first power supply. Mode or second power mode. The first power supply mode is, for example, to stop supplying power to the graphics processing unit 120 and the output interfaces 112, 124. The second power supply mode is, for example, only stopping the power supply to the output interfaces 112, 124 of the graphics processing unit 120, and still continue to supply power to the graphics processing. Unit 120. For example, the first power supply mode is a Unified Memory Architecture (UMA) mode, and the second power supply mode is a Discrete mode.

舉例來說,可在韌體或其他可儲存記錄媒體中設置一旗標,並且提供一設定介面或熱鍵供使用者自行設定在未耦接至擴充裝置的情況下的供電模式為何。例如,當設定為第一供電模式時,旗標的值設定為1;當設定為第二供電模式時,旗標的值設定為0。據此,電子裝置100透過讀取旗標可知道目前是處於第一供電模式或第二供電模式。然,上述僅為舉例說明,並不以此來限定。For example, a flag can be set in the firmware or other storable recording medium, and a setting interface or hot key can be provided for the user to set the power supply mode without being coupled to the expansion device. For example, when set to the first power supply mode, the value of the flag is set to 1; when set to the second power supply mode, the value of the flag is set to 0. Accordingly, the electronic device 100 can know that it is currently in the first power supply mode or the second power supply mode by reading the flag. However, the above is merely illustrative and is not intended to be limiting.

需說明的是,當圖形處理單元120的輸出介面122及124未與擴充裝置10耦接時,擴充裝置10不會供電至電子裝置100,此時電子裝置100中的元件在運作時所需要的電源,則會由電子裝置100中的電源供應器(例如是電 池)來供應。例如,電源供應器會依據上述第一供電模式與第二供電模式來供電。It should be noted that when the output interfaces 122 and 124 of the graphics processing unit 120 are not coupled to the expansion device 10, the expansion device 10 does not supply power to the electronic device 100, and the components in the electronic device 100 are required for operation. The power source is then powered by a power supply in the electronic device 100 (for example, electricity) Pool) to supply. For example, the power supply supplies power according to the first power supply mode and the second power supply mode described above.

當電子裝置100處於第一供電模式時,如步驟S208所示,電子裝置100會分別禁能圖形處理單元120與輸出介面122及124的供電。也就是說,圖形處理單元120與輸出介面122及124不會接收到電源的供應,因此圖形處理單元120不會處理影像資訊,且無法透過輸出介面1122及124輸出影像資訊。換言之,在電子裝置100處於第一供電模式的情況下,電子裝置100是經由中央處理單元110來進行影像資訊的處理。When the electronic device 100 is in the first power supply mode, as shown in step S208, the electronic device 100 disables the power supply of the graphics processing unit 120 and the output interfaces 122 and 124, respectively. That is to say, the graphics processing unit 120 and the output interfaces 122 and 124 do not receive the power supply, so the graphics processing unit 120 does not process the image information, and cannot output the image information through the output interfaces 1122 and 124. In other words, when the electronic device 100 is in the first power supply mode, the electronic device 100 performs processing of the image information via the central processing unit 110.

另一方面,當電子裝置100處於第二供電模式時,如步驟S210所示,電子裝置100會致能圖形處理單元120的供電,且禁能輸出介面122及124的供電。也就是說,圖形處理單元120仍可接收到電源的供應,以處理影像資訊。然而,輸出介面122及124不會接收到電源的供應。因此,圖形處理單元120無法透過輸出介面122及124輸出影像資訊。換言之,在電子裝置100處於第二供電模式的情況下,影像資訊的處理由圖形處理單元120來執行,但圖形處理單元120處理後的影像資訊不會經由輸出介面122及124輸出,而是會透過中央處理單元110的連接埠介面傳送至主機板上的視訊傳輸介面(例如,顯示埠、VGA介面、HDMI或DVI等)來輸出。On the other hand, when the electronic device 100 is in the second power supply mode, as shown in step S210, the electronic device 100 enables the power supply of the graphics processing unit 120 and disables the power supply of the output interfaces 122 and 124. That is to say, the graphics processing unit 120 can still receive the supply of power to process the image information. However, the output interfaces 122 and 124 do not receive the supply of power. Therefore, the graphics processing unit 120 cannot output image information through the output interfaces 122 and 124. In other words, in the case where the electronic device 100 is in the second power supply mode, the processing of the image information is performed by the graphics processing unit 120. However, the image information processed by the graphics processing unit 120 is not output through the output interfaces 122 and 124, but The video transmission interface (for example, display port, VGA interface, HDMI or DVI, etc.) transmitted to the motherboard through the interface of the central processing unit 110 is output.

如此一來,電子裝置100可依據其目前圖形處理單元120與擴充裝置10之間的耦接與否,以及電子裝置100目 前的供電模式(例如是第一供電模式或第二供電模式),來控制圖形處理單元120的供電以及輸出介面122及124的供電。也就是說,當電子裝置100耦接至擴充裝置10時,電子裝置100例如為處於交流電電源模式(alternating current(AC)power mode),當電子裝置100未耦接至擴充裝置10時,電子裝置100例如為處於電池電源模式(battery power mode)。據此,當電子裝置100耦接至擴充裝置10時並不會耗損到電池的用電,此時便可將圖形處理單元120及其輸出介面122、124的電源全部開啟。而當電子裝置100處於電池電源模式時,不管處於哪一個供電模式時,皆停止供電至輸出介面122、124,而圖形處理單元120的供電則是依據供電模式來決定。In this way, the electronic device 100 can be coupled according to its current graphics processing unit 120 and the expansion device 10, and the electronic device 100 mesh. The previous power supply mode (for example, the first power supply mode or the second power supply mode) controls the power supply of the graphics processing unit 120 and the power supply of the output interfaces 122 and 124. That is, when the electronic device 100 is coupled to the expansion device 10, the electronic device 100 is, for example, in an alternating current (AC) power mode. When the electronic device 100 is not coupled to the expansion device 10, the electronic device 100 is, for example, in a battery power mode. Accordingly, when the electronic device 100 is coupled to the expansion device 10, the power consumption of the battery is not consumed. At this time, the power of the graphics processing unit 120 and its output interfaces 122 and 124 can be all turned on. When the electronic device 100 is in the battery power mode, the power supply to the output interfaces 122, 124 is stopped regardless of the power supply mode, and the power supply of the graphics processing unit 120 is determined according to the power supply mode.

為了詳細說明上述電源控制方法,底下再舉一實施例。In order to explain the above power supply control method in detail, an embodiment will be described below.

第二實施例Second embodiment

圖3是依照本發明第二實施例所繪示之電子裝置300方塊圖。請同時參照圖1與圖3,圖3中的電子裝置300與圖1中的電子裝置100相似,其差異處在於:圖3中的電子裝置300更包括晶片組單元130以及輸出埠單元142、144,而中央處理單元110具有連接埠介面112、114。此外,本實施例繪示以二個輸出埠單元142、144,以及二個連接埠介面112、114為例來進行說明,但本實施例並不限制輸出埠單元以及連接埠介面的數量。上述元件的功能分述如下。3 is a block diagram of an electronic device 300 in accordance with a second embodiment of the present invention. Referring to FIG. 1 and FIG. 3 simultaneously, the electronic device 300 in FIG. 3 is similar to the electronic device 100 in FIG. 1 , the difference is that the electronic device 300 in FIG. 3 further includes a chip set unit 130 and an output unit 142 . 144, and the central processing unit 110 has a connection interface 112, 114. In addition, the present embodiment is illustrated by taking two output ports 142, 144 and two port interfaces 112, 114 as an example, but the embodiment does not limit the number of output ports and the port interface. The functions of the above elements are described below.

晶片組單元130耦接至中央處理單元130與圖形處理單元120。晶片組單元130例如為平台控制集線器(Platform Controller Hub,PCH)等南橋晶片,以控制電子裝置300中的各種輸入輸出介面或儲存介面等。或者,晶片組單元130亦可以是整合了南橋晶片與北橋晶片。在此,晶片組單元120具有第一輸入輸出介面132與第二輸入輸出介面134。上述第一輸入輸出介面132與第二輸入輸出介面134例如為通用輸入輸出(General Purpose I/O,GPIO)介面。The chip set unit 130 is coupled to the central processing unit 130 and the graphics processing unit 120. The chip set unit 130 is, for example, a south bridge chip such as a platform controller hub (PCH) to control various input/output interfaces or storage interfaces in the electronic device 300. Alternatively, the chip set unit 130 may also be integrated with a south bridge wafer and a north bridge wafer. Here, the chip set unit 120 has a first input/output interface 132 and a second input/output interface 134. The first input/output interface 132 and the second input/output interface 134 are, for example, a general purpose input/output (GPIO) interface.

上述第一輸入輸出介面132用以控制圖形處理單元120的供電與否,即,利用第一輸入輸出介面132來開啟或關閉圖形處理單元120的主要電源。而第二輸入輸出介面134用以控制圖形處理單元120的輸出介面122與124的供電與否,即,利用第二輸入輸出介面134將輸出至輸出介面122、124的電關閉。在本實施例中,第二輸入輸出介面134可耦接一開關裝置(例如,金屬氧化半導體(Metal Oxide Semicondutor,MOS)開關或切換裝置(Switch)),其中此開關裝置耦接於所述電源供應器,而所述開關裝置可根據晶片組單元130的輸出訊號來進行開啟或關閉,據以控制電源傳送至輸出介面122及124。The first input/output interface 132 is used to control the power supply of the graphics processing unit 120, that is, the first input/output interface 132 is used to turn on or off the main power of the graphics processing unit 120. The second input/output interface 134 is used to control the power supply of the output interfaces 122 and 124 of the graphics processing unit 120, that is, the output to the output interfaces 122, 124 is electrically closed by the second input/output interface 134. In this embodiment, the second input/output interface 134 can be coupled to a switching device (for example, a metal oxide semiconductor (MOS) switch or a switching device), wherein the switching device is coupled to the power source. The switch device can be turned on or off according to the output signal of the chip set unit 130, so that the control power is transmitted to the output interfaces 122 and 124.

輸出埠單元142及144例如是顯示埠、VGA介面、LVDS介面等視訊傳輸介面,不限於上述。在本實施例中,輸出埠單元142及144例如是與中央處理單元110一起配置在電子裝置300的主機板上,以輸出經由中央處理單元110處理的影像資訊。The output buffer units 142 and 144 are, for example, video display interfaces such as a display port, a VGA interface, and an LVDS interface, and are not limited to the above. In the present embodiment, the output units 142 and 144 are disposed on the motherboard of the electronic device 300 together with the central processing unit 110 to output image information processed by the central processing unit 110, for example.

中央處理單元110的連接埠介面112及114例如是對應於上述輸出埠單元142及144的輸出介面,且中央處理單元110可透過連接埠介面112及114分別耦接至輸出埠單元142及144。具體來說,倘若輸出埠單元142為顯示埠,則中央處理單元110可透過連接埠介面112將顯示埠訊號傳送至輸出埠單元142。或者,倘若輸出埠單元144為VGA介面,則中央處理單元110可透過連接埠介面114將為VGA訊號傳送至輸出埠單元144。The interface interfaces 112 and 114 of the central processing unit 110 are, for example, output interfaces corresponding to the output ports 142 and 144, and the central processing unit 110 can be coupled to the output ports 142 and 144 via the port interfaces 112 and 114, respectively. Specifically, if the output unit 142 is a display port, the central processing unit 110 can transmit the display signal to the output port unit 142 through the port interface 112. Alternatively, if the output unit 144 is a VGA interface, the central processing unit 110 can transmit the VGA signal to the output unit 144 through the interface 114.

另外,圖3中之電子裝置300的其他構件的材料、配置關係、用途與功效等與圖1中之電子裝置100的構件相似,故於此不再贅述。In addition, the materials, arrangement relationships, uses, and functions of the other components of the electronic device 300 in FIG. 3 are similar to those of the electronic device 100 in FIG. 1, and thus will not be described herein.

圖4是依照本發明第二實施例所繪示之電源控制方法的流程圖。本實施例的電源控制方法適用於上述實施例中的電子裝置300。以下即搭配圖4與圖3之電子裝置300中的各構件說明本實施例電源控制方法的詳細步驟。4 is a flow chart of a power control method according to a second embodiment of the present invention. The power supply control method of this embodiment is applied to the electronic device 300 in the above embodiment. The detailed steps of the power supply control method of the present embodiment will be described below with reference to the components in the electronic device 300 of FIGS. 4 and 3.

請同時參照圖3及圖4,於步驟S402,晶片組單元130會判斷輸出介面122或124是否自擴充裝置10接收到通知訊號,據以偵測圖形處理單元120的輸出介面122及124是否與擴充裝置10耦接。舉例來說,輸出介面122及124例如是配置於同一條纜線中以同時傳送顯示埠訊號與VGA訊號,而當此纜線耦接至擴充裝置10中的接腳時(例如,使用者將纜線插至擴充裝置10),擴充裝置10中的接腳可產生高邏輯電位的訊號來通知晶片組單元130。當晶片組單元130接收到此高邏輯電位的訊號便可得知電子 裝置300耦接至擴充裝置10。Referring to FIG. 3 and FIG. 4 simultaneously, in step S402, the chipset unit 130 determines whether the output interface 122 or 124 receives the notification signal from the expansion device 10, thereby detecting whether the output interfaces 122 and 124 of the graphics processing unit 120 are The expansion device 10 is coupled. For example, the output interfaces 122 and 124 are, for example, disposed in the same cable to simultaneously transmit the display signal and the VGA signal, and when the cable is coupled to the pin in the expansion device 10 (for example, the user will The cable is plugged into the expansion device 10), and the pins in the expansion device 10 generate a high logic potential signal to notify the chip set unit 130. When the chip set unit 130 receives the signal of the high logic potential, the electron can be known. The device 300 is coupled to the expansion device 10.

在圖形處理單元120透過輸出介面122及124與擴充裝置10耦接的情況下,則如步驟S404所示,晶片組單元130會透過第一輸入輸出介面132致能圖形處理單元120的供電,且透過第二輸入輸出介面134致能圖形處理單元120的輸出介面122及124的供電。在此,由於圖形處理單元120的輸出介面122及124是耦接於擴充裝置10,其中擴充裝置10係接收外部的直流電電源或交流電電源,因此在耦接至擴充裝置10時,便可透過擴充裝置10供電給電子裝置300,進而可減少電子裝置300的電池電源消耗。因此,在步驟S404中,將提供給圖形處理單元120及其輸出介面122及124的電源開啟。In the case where the graphics processing unit 120 is coupled to the expansion device 10 through the output interfaces 122 and 124, the chip group unit 130 enables the power supply of the graphics processing unit 120 through the first input/output interface 132, as shown in step S404. Powering the output interfaces 122 and 124 of the graphics processing unit 120 is enabled through the second input and output interface 134. In this case, the output interfaces 122 and 124 of the graphics processing unit 120 are coupled to the expansion device 10, wherein the expansion device 10 receives an external DC power source or an AC power source, so that when the expansion device 10 is coupled to the expansion device 10, the expansion device 10 can be expanded. The device 10 is powered to the electronic device 300, thereby reducing battery power consumption of the electronic device 300. Therefore, in step S404, the power supplied to the graphics processing unit 120 and its output interfaces 122 and 124 is turned on.

另一方面,在電子裝置300未與擴充裝置10耦接的情況下,則如步驟S406所示,晶片組單元130會判斷電子裝置300是處於第一供電模式或是第二供電模式。類似於第一實施例的步驟S206,本實施例之晶片組單元130會依據上述第一供電模式與第二供電模式來控制電源供應器供電,據以決定利用中央處理單元110或利用圖形處理單元120來進行影像資訊的處理。On the other hand, if the electronic device 300 is not coupled to the expansion device 10, the chip group unit 130 determines whether the electronic device 300 is in the first power supply mode or the second power supply mode, as shown in step S406. Similar to the step S206 of the first embodiment, the chip set unit 130 of the present embodiment controls the power supply according to the first power supply mode and the second power supply mode, thereby determining whether to utilize the central processing unit 110 or utilize the graphics processing unit. 120 to process image information.

在此,當電子裝置300處於第一供電模式時,則如步驟S408所示,晶片組單元130可透過第一輸入輸出介面132禁能圖形處理單元120的供電,且可透過第二輸入輸出介面134禁能圖形處理單元120的輸出介面122及124的供電。舉例來說,晶片組單元130可透過第一輸入輸出 介面132使電子裝置100中的電源供應器停止傳送電源至圖形處理單元120。並且,晶片組單元130可透過第二輸入輸出介面134控制耦接於開關裝置進行關閉,據以停止電源供應器的電源傳送至輸出介面122及124。Here, when the electronic device 300 is in the first power supply mode, as shown in step S408, the chip group unit 130 can disable the power supply of the graphics processing unit 120 through the first input/output interface 132, and can pass through the second input/output interface. 134 disables the supply of the output interfaces 122 and 124 of the graphics processing unit 120. For example, the chipset unit 130 can pass through the first input and output The interface 132 causes the power supply in the electronic device 100 to stop transmitting power to the graphics processing unit 120. Moreover, the chip set unit 130 can be controlled to be coupled to the switching device through the second input/output interface 134 for shutting down, thereby stopping the power supply of the power supply to the output interfaces 122 and 124.

從另一觀點看,由於晶片組單元130禁能圖形處理單元120與輸出介面122及124的供電,因此晶片組單元130不會將影像資訊送至圖形處理單元120,且晶片組單元130亦不會透過圖形處理單元120的輸出介面122及124輸出影像資訊。此時,晶片組單元130會將影像資訊傳送至中央處理單元110,以透過中央處理單元110來處理影像資訊,且中央處理單元110會將已處理的影像資訊透過連接埠介面112及114傳送至輸出埠單元142及144以輸出影像資訊。From another point of view, since the chipset unit 130 disables the power supply of the graphics processing unit 120 and the output interfaces 122 and 124, the chipset unit 130 does not send image information to the graphics processing unit 120, and the chipset unit 130 does not. The image information is output through the output interfaces 122 and 124 of the graphics processing unit 120. At this time, the chipset unit 130 transmits the image information to the central processing unit 110 to process the image information through the central processing unit 110, and the central processing unit 110 transmits the processed image information to the interface through the interface interfaces 112 and 114. The output units 142 and 144 are output to output image information.

另一方面,當電子裝置300處於第二供電模式時,則如步驟S410所示,晶片組單元130可透過第一輸入輸出介面132致能圖形處理單元120的供電,且可透過第二輸入輸出介面134禁能圖形處理單元120的輸出介面122及124的供電。也就是說,由於晶片組單元130維持致能圖形處理單元120的供電,但禁能輸出介面122及124的供電,因此仍可透過圖形處理單元120進行影像資訊的處理,之後再將處理後的影像資訊傳送至中央處理器110,中央處理器110的連接埠介面112、114來輸出處理後的影像資訊。On the other hand, when the electronic device 300 is in the second power supply mode, the chip group unit 130 can enable the power supply of the graphics processing unit 120 through the first input and output interface 132, and can transmit the second input and output through the first input and output interface 132. Interface 134 disables the supply of output interfaces 122 and 124 of graphics processing unit 120. That is, since the chipset unit 130 maintains the power supply of the enable graphics processing unit 120, but disables the power supply of the output interfaces 122 and 124, the image processing unit 120 can still perform image information processing, and then the processed image processing unit 120 The image information is transmitted to the central processing unit 110, and the interface 112, 114 of the central processing unit 110 outputs the processed image information.

更進一步地說,在電子裝置300處於第二供電模式的 情況下,晶片組單元130可透過傳輸介面(例如是PEG匯流排)將影像資訊傳送至圖形處理單元120進行處理。此外,圖形處理單元120亦可透過此傳輸介面,回傳已處理的影像資訊至晶片組單元130,則中央處理單元110可自晶片組單元130接收已處理的影像資訊,並將此已處理的影像資訊透過連接埠介面112及114傳送至輸出埠單元142及144以輸出影像資訊。Further, when the electronic device 300 is in the second power supply mode In this case, the chipset unit 130 can transmit the image information to the graphics processing unit 120 for processing through a transmission interface (for example, a PEG bus). In addition, the graphics processing unit 120 can also transmit the processed image information to the chipset unit 130 through the transmission interface, and the central processing unit 110 can receive the processed image information from the chipset unit 130, and the processed image is processed. The image information is transmitted to the output ports 142 and 144 through the port interfaces 112 and 114 to output image information.

如此一來,在本實施例中,晶片組單元130可偵測圖形處理單元120的輸出介面122及124是否耦接於擴充裝置10。若上述偵測結果為是,表示電子裝置300處於交流電電源模式之下,因此直接致能圖形處理單元120及其輸出介面122、124的供電。若上述偵測結果為否,表示電子裝置300處於電池電源模式之下,晶片組單元130可依據電子裝置300的供電模式來關閉/開啟圖形處理單元120以及輸出介面122及124的供電,據以降低電池耗電的情況。藉此,電子裝置300可具有良好的省電效果。In this embodiment, the chipset unit 130 can detect whether the output interfaces 122 and 124 of the graphics processing unit 120 are coupled to the expansion device 10. If the detection result is YES, it indicates that the electronic device 300 is in the AC power mode, so the power supply of the graphics processing unit 120 and its output interfaces 122, 124 is directly enabled. If the detection result is negative, indicating that the electronic device 300 is in the battery power mode, the chipset unit 130 can turn off/on the power supply of the graphic processing unit 120 and the output interfaces 122 and 124 according to the power supply mode of the electronic device 300, according to Reduce battery drain. Thereby, the electronic device 300 can have a good power saving effect.

綜上所述,本發明實施例之電子裝置與電源控制方法,當圖形處理單元的輸出介面耦接於擴充裝置時,電子裝置可從擴充裝置以接收外部的電源,因此不會消耗電子裝置中所供應的電源。此外,當圖形處理單元的輸出介面未耦接於擴充裝置時,電子裝置會禁能圖形處理單元的輸出介面的供電,藉以避免啟動圖形處理單元的輸出介面所需的電源消耗。如此一來,電子裝置可具有良好的省電效果。另外,即便是取消一組顯示埠並取消了LVDS介面的 圖形處理單元,透過上述實施例中的電子裝置300的連接方式,亦可在不增加切換電路及其週邊線路的情況之下而使用之,不論是何種圖形處理單元皆適用。據此,可減少佈局布置(layout placement)位置與拉線空間。In summary, in the electronic device and the power control method of the embodiment of the present invention, when the output interface of the graphics processing unit is coupled to the expansion device, the electronic device can receive the external power supply from the expansion device, and thus does not consume the electronic device. The power supplied. In addition, when the output interface of the graphics processing unit is not coupled to the expansion device, the electronic device disables the power supply of the output interface of the graphics processing unit to avoid power consumption required to activate the output interface of the graphics processing unit. In this way, the electronic device can have a good power saving effect. In addition, even if a group of displays is cancelled and the LVDS interface is cancelled The graphics processing unit can be used by the connection method of the electronic device 300 in the above embodiment, without using the switching circuit and its peripheral lines, regardless of the graphics processing unit. According to this, the layout placement position and the pull line space can be reduced.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

10‧‧‧擴充裝置10‧‧‧Expansion device

100、300‧‧‧電子裝置100, 300‧‧‧ electronic devices

110‧‧‧中央處理單元110‧‧‧Central Processing Unit

112、114‧‧‧連接埠介面112, 114‧‧‧Connected interface

120‧‧‧圖形處理單元120‧‧‧Graphic Processing Unit

122、124‧‧‧輸出介面122, 124‧‧‧ Output interface

130‧‧‧晶片組單元130‧‧‧ Chipset unit

132‧‧‧第一輸入輸出介面132‧‧‧First input and output interface

134‧‧‧第二輸入輸出介面134‧‧‧Second input and output interface

142、144‧‧‧輸出埠單元142, 144‧‧‧ output unit

S202‧‧‧偵測圖形處理單元的多個輸出介面是否與擴充裝置耦接S202‧‧‧Detecting whether multiple output interfaces of the graphics processing unit are coupled to the expansion device

S204‧‧‧分別致能圖形處理單元與輸出介面的供電S204‧‧‧Enable power supply for graphics processing unit and output interface respectively

S206‧‧‧偵測目前是處於第一供電模式或第二供電模式S206‧‧‧Detection is currently in the first power supply mode or the second power supply mode

S208‧‧‧分別禁能圖形處理單元與輸出介面的供電S208‧‧‧ disable the power supply of the graphics processing unit and the output interface respectively

S210‧‧‧致能圖形處理單元的供電,且禁能輸出介面的供電S210‧‧‧Enable power supply to the graphics processing unit and disable the power supply of the output interface

S402‧‧‧透過晶片組單元判斷輸出介面是否自擴充裝置接收通知訊號,據以偵測圖形處理單元的多個輸出介面是否與擴充裝置耦接S402‧‧ ‧ is determined by the chipset unit whether the output interface receives the notification signal from the expansion device, and detects whether the plurality of output interfaces of the graphics processing unit are coupled to the expansion device

S404‧‧‧透過第一輸入輸出介面致能圖形處理單元的供電,以及透過第二輸入輸出介面致能圖形處理單元的輸出介面的供電S404‧‧‧Enable power supply to the graphics processing unit through the first input/output interface, and enable the output interface of the graphics processing unit through the second input/output interface

S406‧‧‧透過晶片組單元判斷電子裝置處於第一供電模式或第二供電模式S406‧‧‧determining, by the chipset unit, that the electronic device is in the first power supply mode or the second power supply mode

S408‧‧‧透過第一輸入輸出介面禁能圖形處理單元的供電,以及透過第二輸入輸出介面禁能圖形處理單元的輸出介面的供電S408‧‧ ‧ power supply through the first input and output interface disable graphics processing unit, and power supply through the output interface of the second input/output interface disable graphics processing unit

S410‧‧‧透過第一輸入輸出介面致能圖形處理單元的供電,以及透過第二輸入輸出介面禁能圖形處理單元的輸出 介面的供電S410‧‧‧Enable power supply to the graphics processing unit through the first input/output interface, and disable the output of the graphics processing unit through the second input/output interface Interface power supply

圖1是依照本發明第一實施例所繪示之電子裝置的方塊圖。1 is a block diagram of an electronic device in accordance with a first embodiment of the present invention.

圖2是依照本發明第一實施例所繪示之電源控制方法的流程圖。2 is a flow chart of a power control method according to a first embodiment of the present invention.

圖3是依照本發明第二實施例所繪示之電子裝置方塊圖。3 is a block diagram of an electronic device in accordance with a second embodiment of the present invention.

圖4是依照本發明第二實施例所繪示之電源控制方法的流程圖。4 is a flow chart of a power control method according to a second embodiment of the present invention.

10‧‧‧擴充裝置10‧‧‧Expansion device

100‧‧‧電子裝置100‧‧‧Electronic devices

110‧‧‧中央處理單元110‧‧‧Central Processing Unit

120‧‧‧圖形處理單元120‧‧‧Graphic Processing Unit

122、124‧‧‧輸出介面122, 124‧‧‧ Output interface

Claims (10)

一種電子裝置,包括:一中央處理單元;以及一圖形處理單元,耦接該中央處理單元,該圖形處理單元包括多個輸出介面;其中,在透過該些輸出介面與一擴充裝置耦接的情況下,供電至該圖形處理單元與該些輸出介面;其中,在該些輸出介面未與該擴充裝置耦接的情況下,當該電子裝置處於一第一供電模式時,停止供電至該圖形處理單元與該些輸出介面,當該電子裝置處於一第二供電模式時,供電至該圖形處理單元以及停止供電至該些輸出介面。 An electronic device includes: a central processing unit; and a graphics processing unit coupled to the central processing unit, the graphics processing unit includes a plurality of output interfaces; wherein, when the output interfaces are coupled to an expansion device And supplying power to the graphics processing unit and the output interfaces; wherein, when the output interfaces are not coupled to the expansion device, when the electronic device is in a first power supply mode, power supply is stopped to the graphics processing And the output interface, when the electronic device is in a second power supply mode, supplies power to the graphics processing unit and stops supplying power to the output interfaces. 如申請專利範圍第1項所述之電子裝置,更包括:一晶片組單元,耦接至該中央處理單元與該圖形處理單元,該晶片組單元包括:一第一輸入輸出介面,控制該圖形處理單元的供電與否;以及一第二輸入輸出介面,控制該圖形處理單元的該輸出介面的供電與否。 The electronic device of claim 1, further comprising: a chip set unit coupled to the central processing unit and the graphics processing unit, the chip set unit comprising: a first input/output interface for controlling the graphic Whether the processing unit is powered or not; and a second input/output interface that controls whether the output interface of the graphics processing unit is powered or not. 如申請專利範圍第2項所述之電子裝置,其中在透過該些輸出介面與該擴充裝置耦接的情況下,該晶片組單元透過該些輸出介面而自該擴充裝置接收一第一通知訊號,藉以透過該第一輸入輸出介面致能該圖形處理單元的 供電,以及透過該第二輸入輸出介面致能該圖形處理單元的該些輸出介面的供電。 The electronic device of claim 2, wherein the chipset unit receives a first notification signal from the expansion device through the output interfaces when the output device is coupled to the expansion device , enabling the graphics processing unit through the first input/output interface Powering, and enabling power to the output interfaces of the graphics processing unit through the second input and output interface. 如申請專利範圍第2項所述之電子裝置,其中在該些輸出介面未與該擴充裝置耦接的情況下,該晶片組單元判斷該電子裝置處於該第一供電模式或該第二供電模式,當該電子裝置處於該第一供電模式時,透過該第一輸入輸出介面禁能該圖形處理單元的供電,以及透過該第二輸入輸出介面禁能該圖形處理單元的該些輸出介面的供電;當該電子裝置處於該第二供電模式時,透過該第一輸入輸出介面致能該圖形處理單元的供電,以及透過該第二輸入輸出介面禁能該圖形處理單元的該些輸出介面的供電。 The electronic device of claim 2, wherein the chipset unit determines that the electronic device is in the first power supply mode or the second power supply mode if the output interfaces are not coupled to the expansion device When the electronic device is in the first power supply mode, the power supply of the graphics processing unit is disabled through the first input/output interface, and the power supply of the output interfaces of the graphics processing unit is disabled through the second input/output interface. When the electronic device is in the second power supply mode, the power supply of the graphics processing unit is enabled through the first input/output interface, and the power supply of the output interfaces of the graphics processing unit is disabled through the second input/output interface. . 如申請專利範圍第1項所述之電子裝置,更包括:多個輸出埠單元,其中該中央處理單元包括多個連接埠介面,藉以透過該些連接介面分別耦接至該些輸出埠單元。 The electronic device of claim 1, further comprising: a plurality of output ports, wherein the central processing unit comprises a plurality of port interfaces, respectively, to which the output ports are respectively coupled through the connection interfaces. 一種電源控制方法,用於一電子裝置,其中該電子裝置具有一中央處理單元與一圖形處理單元,該電源控制方法包括:在該圖形處理單元的多個輸出介面與一擴充裝置耦接的情況下,分別致能該圖形處理單元與該些輸出介面的供電;以及在該些輸出介面未與該擴充裝置耦接的情況下,當該電子裝置處於一第一供電模式時,分別禁能 該圖形處理單元與該些輸出介面的供電;以及當該電子裝置處於一第二供電模式時,致能該圖形處理單元的供電,且禁能該些輸出介面的供電。 A power control method for an electronic device, wherein the electronic device has a central processing unit and a graphics processing unit, the power control method includes: coupling a plurality of output interfaces of the graphics processing unit to an expansion device And enabling the power supply of the graphics processing unit and the output interfaces respectively; and in the case that the output interfaces are not coupled to the expansion device, when the electronic device is in a first power supply mode, respectively, the power is disabled The graphics processing unit and the output interfaces are powered; and when the electronic device is in a second power supply mode, enabling power to the graphics processing unit and disabling power to the output interfaces. 如申請專利範圍第6項所述之電源控制方法,其中該電子裝置具有一晶片組單元,該電源控制方法更包括:藉由該晶片組單元的一第一輸入輸出介面控制該圖形處理單元的供電與否;以及藉由該晶片組單元的一第二輸入輸出介面控制該圖形處理單元的該些輸出介面的供電與否。 The power control method of claim 6, wherein the electronic device has a chip set unit, the power control method further comprising: controlling the graphic processing unit by a first input/output interface of the chip set unit Powering or not; and controlling whether the output interfaces of the graphics processing unit are powered by a second input/output interface of the chipset unit. 如申請專利範圍第7項所述之電源控制方法,其中在該圖形處理單元的該些輸出介面與該擴充裝置耦接的情況下,分別致能該圖形處理單元與該些輸出介面的供電的步驟包括:透過該第一輸入輸出介面致能該圖形處理單元的供電;以及透過該第二輸入輸出介面致能該圖形處理單元的該些輸出介面的供電。 The power supply control method of claim 7, wherein the graphics processing unit and the output interfaces are respectively powered when the output interfaces of the graphics processing unit are coupled to the expansion device. The method includes: enabling power supply of the graphics processing unit through the first input/output interface; and enabling power supply of the output interfaces of the graphics processing unit through the second input/output interface. 如申請專利範圍第7項所述之電源控制方法,其中在該些輸出介面未與該擴充裝置耦接的情況下,該電源控制方法更包括:透過該晶片組單元判斷該電子裝置處於該第一供電模式或該第二供電模式;當該電子裝置處於該第一供電模式時,透過該第一輸入輸出介面禁能該圖形處理單元的供電,以及透過該第二 輸入輸出介面禁能該圖形處理單元的該些輸出介面的供電;以及當該電子裝置處於該第二供電模式時,透過該第一輸入輸出介面致能該圖形處理單元的供電,以及透過該第二輸入輸出介面禁能該圖形處理單元的該些輸出介面的供電。 The power control method of claim 7, wherein the power control method further comprises: determining, by the chip set unit, that the electronic device is in the first state, wherein the output interfaces are not coupled to the expansion device a power supply mode or the second power supply mode; when the electronic device is in the first power supply mode, the power supply of the graphics processing unit is disabled through the first input/output interface, and the second The input/output interface disables power supply of the output interfaces of the graphics processing unit; and enables the power supply of the graphics processing unit through the first input/output interface when the electronic device is in the second power supply mode, and transmits the The two input and output interfaces disable the supply of the output interfaces of the graphics processing unit. 如申請專利範圍第6項所述之電源控制方法,其中該電子裝置更包括多個輸出埠單元,且該中央處理單元包括多個連接埠介面,以透過該些連接埠介面分別耦接至該些輸出埠單元。The power control method of claim 6, wherein the electronic device further includes a plurality of output ports, and the central processing unit includes a plurality of port interfaces, respectively, to be coupled to the port through the port interfaces Some output units.
TW101141046A 2012-11-05 2012-11-05 Electronic apparatus and power controlling method TWI499903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101141046A TWI499903B (en) 2012-11-05 2012-11-05 Electronic apparatus and power controlling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101141046A TWI499903B (en) 2012-11-05 2012-11-05 Electronic apparatus and power controlling method

Publications (2)

Publication Number Publication Date
TW201418969A TW201418969A (en) 2014-05-16
TWI499903B true TWI499903B (en) 2015-09-11

Family

ID=51294327

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101141046A TWI499903B (en) 2012-11-05 2012-11-05 Electronic apparatus and power controlling method

Country Status (1)

Country Link
TW (1) TWI499903B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080168285A1 (en) * 2007-01-07 2008-07-10 De Cesare Joshua Methods and Systems for Power Management in a Data Processing System
CN101470504A (en) * 2007-12-27 2009-07-01 辉达公司 Method and system for elastically supplying electric power to high-order drafting card
TW201035746A (en) * 2008-12-30 2010-10-01 Intel Corp Hybrid graphics display power management
CN102109899A (en) * 2009-12-23 2011-06-29 联想(北京)有限公司 Computer, displayer, and display method of computer
US8233000B1 (en) * 2007-11-08 2012-07-31 Nvidia Corporation System and method for switching between graphical processing units

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080168285A1 (en) * 2007-01-07 2008-07-10 De Cesare Joshua Methods and Systems for Power Management in a Data Processing System
US8233000B1 (en) * 2007-11-08 2012-07-31 Nvidia Corporation System and method for switching between graphical processing units
CN101470504A (en) * 2007-12-27 2009-07-01 辉达公司 Method and system for elastically supplying electric power to high-order drafting card
TW201035746A (en) * 2008-12-30 2010-10-01 Intel Corp Hybrid graphics display power management
CN102109899A (en) * 2009-12-23 2011-06-29 联想(北京)有限公司 Computer, displayer, and display method of computer

Also Published As

Publication number Publication date
TW201418969A (en) 2014-05-16

Similar Documents

Publication Publication Date Title
US8736618B2 (en) Systems and methods for hot plug GPU power control
TWI418975B (en) Device and system for hybrid graphics display power management and a non-transitory machine readable medium therefor
US7750912B2 (en) Integrating display controller into low power processor
US9336028B2 (en) Virtual graphics device driver
TWI533683B (en) Hdmi-muxed debug port methods and apparatuses
JP2006163403A (en) System and method of controlling graphics controller
US20140379951A1 (en) System and display control method
US20140118367A1 (en) Electronic device and power control method thereof
TW201324133A (en) HDMI-muxed debug cable methods and apparatuses
US20150253842A1 (en) Semiconductor device, and power control method for usbotg
CN111031371B (en) Single-line screen projection system and method
TWI602052B (en) Display control system
US9804646B2 (en) Host controlled IO power management
CN101989122B (en) Electronic device and its power saving control method
US11320880B2 (en) Multifunction display port
CN106959729A (en) A kind of electronic equipment
TWI499903B (en) Electronic apparatus and power controlling method
TW201430544A (en) Battery, power supply apparatus and electronic apparatus
CN101551988A (en) Method for operating display in DPMS mode
TW201301764A (en) Electrical device
US8370653B2 (en) Motherboard capable of playing image or video in power-off state
JP2010055265A (en) System lsi, control method of system lsi, program, and storage medium
CN204650373U (en) Powered Displays
US20170220069A1 (en) Docking apparatus and control method thereof
WO2011088753A1 (en) Method for managing power supply of display and display

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees