1380215 六、發明說明: 【發明所屬之技術領域】 本發明係指一種設定一顯示器的方法及其相關電腦系統,尤 指一種可透過系統記憶體讀取顯示器的顯示識別資料之方法及其相 關電腦系統。 【先前技術】 由於影像技術的進步,許多應用程式的圖形介面已由過去的 二維(two dimension ’ 2D)圖形演化至三維(three dirnension,3D)圖 形,以增加物體本身的立體感以及臨場感。然而,當執行3〇之應 用程式(如遊戲或繪圖軟體)時,常由於電腦資源的不足,而造成 延遲的情形。因此’為了誠上述問題,混合式_祕(H咖W Gmph1C System)因應*生。混合式圖形系祕於細线中設置兩 個以上之顯神動W,並齡賴不同 ==方式。一般來說,其中之-顯示驅動晶: 二示购日_可錄為外接顯卡 電腦遊戲時,可選擇外接顯;^用者執行複雜的犯繪圖或是刃 圖形效能;而當使用者執彳·奎’’’、員不驅 動晶片,以達到流暢的3D 擇内建於域板上的_^=理軟體或《電子餅時,可選 勒日日片,以節省系統資源。 -般來說,在習知 匈糸統中,顯示驅動晶片必須透過系 1380215 統吕,二料匯流排(system management bus,SM bus )讀取顯示器 :識⑺:貝料,以自動調整顯示器所符合的解析度以及掃描頻 轉;數。相較之下,在混合式圖形系統t ,由於其中設置有至少 ^ ”八。動曰曰片,因此當顯示驅動晶片透過系統管理資料匯流排 喂取儲存麵不器中的顯示酬資料時,必賴著_電路來切換 ^同的顯不驅動晶片,以取得顯示㈣侧參數。同時,於每一次 、時基本輸入輸出系統(basic input/output system,BIOS ) 必須對應地控制_電路以改變電源㈣管理狀態 。如此一來,不 但增加電路成本’更增加系統設計的複雜度。 、簡°之’在習知技術中’混合式圖形系統必須使用開關電路 …換=同的顯不驅動晶片’並透^^SMbus以讀取液晶螢幕的顯 不識別資料,不但增加f路縣,更增加纽設計的複雜度。 【發明内容】 因此’本發明之主要目的在於提供一種用於一電腦系統設定 —顯示器的方法’以簡化系統電路。 本毛明揭路-割於―電腦系統設定—顯示器的方法,該電 &系、尤包3至^-顯不驅動晶片,該方法包含有讀取鋪示器之一 員不識別貝料’並將補示識別資料儲存至_記憶體緩衝區;於該 電腦系、,先操作於開機自我測試(p〇而加娜咖)階段時,複製 該記憶體緩衝區所儲存之該顯示識別資料至一系統記憶體;以及由 丄⑽215 體所儲存之示識別資 該至少-__晶片讀轉系統記憶 料,以取得該顯示器之參數。 本發明另揭露-種電腦系統,包 一批在丨丨吳 « 为一糸統電路、一顯示考、 控制裔、-基本輸入輸出單元以及 顯不益 電路,用來會i目#顯不驅動晶片。該系統 电哈m术貫現該電腦系統之功能。 用來顯干.不态,耦接於該系統電路, 用术,、頁不於該祕電路所產生之影像 用來靖敌綠工制器,麵接於§亥顯示器, 〇 5心、員不态之一顯示識別資料,並將_ #<2,- -—絲鞠賴射料儲存至 BIOS) (Winput/〇utputsystem , 接於讀制11,用來於該電腦系統操作於-開機自我測 I power on seif test)階段時,複製該記憶體緩衝區所儲存之該顯 示識別資料^系軌憶體。該至少—顯示鶴晶片,缺於該基 本輸入輸料元,用來讀取齡統記,It體觸存之翻示識別資 料,以取得該顯示器之參數。 【實施方式】 請參考第1圖,第1圖為本發明實施例一流程10之示意圖。 流程10用於一電腦系統中設定一顯示器,該電腦系統較佳地係一混 合式圖形系統(Hybrid Graphic System),如筆記型電腦’其包含至 少一顯示驅動晶片,用來處理該電腦系統的影像資訊。流程10包含 以下步驟: 步驟100 :開始。 步驟120 :讀取該顯示器之一顯示識別資料,並將該顯示識別 1380215 資料儲存至一記憶體緩衝區。 步驟1你於該電腦系統操作於一開機自我測試(卿e⑽抓 test)階段時,複製該記憶體緩衝區 示識別資料至-系統記憶體。 贵驟16G .由該至少—顯示驅動晶片讀取該系統記憶體所儲存 之該顯示識別資料,以取得該顯示器之參數。 步驟180 :結束。 根據流程H) ’本發明先讀取顯示⑽顯示識職料,並將顯 示識別資料儲存至記憶體緩衝區中n當電齡統操作於開機 自我測試時’本發明顧製記憶體緩衝輯儲存之顯示識別資料至 系統記憶體’使得顯示驅動晶片可讀取系統記憶體所儲存之顯干識 別資料’以取得簡示H的錄,如:顯的的解減以及掃描^ 率。 因此’當電腦系統包含至少一顯示驅動晶片時,本發明係將 顯示識別資料暫存於記憶體緩親中,並於電腦祕操作於開機自 我測試時’將儲存在記憶體緩衝區中的識別 體。如此-來,任-顯示驅動晶片可讀取储存於系統2體:干 識射料’以取得顯示器參數,進而設定顯示器之相關配置。相較 於習知技術,本發明不需要使料餘__路來切換不同_示 驅動晶片,崎取液騎幕_示識师料。因此,本發明可減少 開關電路的需求’降低祕設計的複減,進—步喊少生產成本。 1380215 需注意的是’第1圖所示之流程l〇係為本發明之實施例示意 圖’本領域具通常知識者當可據以做不同之修飾,而不限於此。舉 例來說,當電腦系統操作於一關機模式時,本發明可進一步提供電 源,用以讀取顯示器之顯示識別資料’並將顯示識別資料儲存至記 憶體緩衝區。此外’當任一顯示驅動晶片讀取該系統記憶體所儲存 之該顯示識別資料時,該顯示驅動晶片可執行一回應功能,用以透 • 過一指標器’指示顯示識別資料儲存於該系統記憶體之一位址值, 使知顯不驅動晶片可據以讀取系統記憶體所儲存之顯示識別資料。 另外,在本發明中,顯示器不侷限於特定的顯示器種類,其 可為内建或外接的液晶顯示器(Liquid Crystal Display,LCD)或是 陰極射線管顯示器(Cathode Ray Tube,CRT)。當顯示器係陰極射 線管顯示器時,相關的運作方式與上述類似,不同之處在於,當讀 _取顯示識別資料時(即步驟12〇),需輸出一啟動訊號,用以啟動讀 取摘不H之顯示朗㈣,並賴示朗資繼存至該記憶體緩 衝區。 ^關於流程1G的實現方式’請參考第2圖,第2圖為本發明實 她例電腦系統20之示意圖。較佳地,電腦系统2〇係一筆記型電腦。 電月自系統20包含有一系統電路21〇、一顯示器22〇、一控制器⑽、 _基本輸入輸出單元(basichPu__system,BIOS) 240以及顯 不驅動晶片VGA1、VGA2。系統電路21〇用來實現電腦系統之 1380215 .功能。顯示器220耦接於系統電路210,用來顯示於系統電路21〇 所產生之影像。此外’顯示器220包^一顯示識別資料EDID,儲 存於顯示器220的可抹除可規化式唯讀記憶體(eeprqm)中(未 繪於第2圖)’用來設定顯示器220的解析度以及掃描頻率等參數。 控制器230耦接於顯示器220,用來透過SM bus讀取顯示器22〇之 顯示識別資料EDID’並將顯示識別資料EDID儲存至一記憶體緩衝 區ECRAM。較佳地,控制器230係一嵌入式控制器(embedded • ControlIer);記憶體緩衝區ECRAM係一内嵌式控制器記憶體 (Embedded Co_Uermemoiy)。此外,一電源供應器(未繪於第2 圖)於電腦系統20操作於關機模式時,提供電源至控制器23〇,以 驅動控制器230讀取顯示器220之顯示識別資料EDID ,並將之儲 存至暫存器ECRAM。基本輸入輸出單元240耦接於控制器230,用 來於電腦系統20操作於一開機自我測試階段時,複製暫存器 ECRAM所儲存之顯示識別資料EDH)至一系統記憶體25〇。顯示驅 _ 動晶片VGA卜VGA2耦接於基本輸入輸出單元24〇,用來讀取系 統吾己憶體ECRAM所儲存之顯示識別資料EDID,以取得顯示器22〇 之參數,進而調整顯示器220的解析度及掃描頻率。 當電腦系統20切換顯示驅動晶片以符合使用者操作需求時, 顯示驅動晶片VGA1或VGA2可進一步執行一回應功能(callback function) ’以取得顯示識別資料EDID儲存於系統記憶體25〇之一 位址值adrs,從而讀取系統記憶體28〇所儲存之顯示識別資料 EDID。回應功能係透過一指標器(pointer),指示位址值adrs。換 9 1380215 句話說,顯示骑晶片VGA1或VGA2藉由執行轉功能,使得夷 本輸入輸出單元240回㈣統記紐的位址^如進—步^ 透過位址值adrs,控制器23〇讀取系統記憶體25〇所儲存" 別資料EDID。 ‘ /'識 因此’本發明讀取顯示器220的顯示識別龍EDI〇後將顯 示識別資料EDID複製在系統記憶體25〇中,並且由至少一顯示驅 動晶片讀取系統記憶體,所儲存之顯示識別資料EmD,以阶 顯示器220之參數。 于 需注意的是’第2圖中的顯示器22〇不侷限於特定的顯示器 種類。顯示器220可為-液晶顯示器(Uquid如㈤此卿,咖) 或是-陰極射線管顯示器(CathGdeRayTube,CRT)。當顯示号挪 係-陰極射線管顯示器時,相關的運作方式與上述類似,僅不同之 處j於,電腦組2。需透過—_腳位,用來輸出—啟動訊號至控 制器230,以啟動控制器23〇讀取顯示器22〇之顯示識別資料 EDID ’並將顯禾識別資料EDID儲存至記憶體緩衝區冗趣。此 外’由於電腦系統20切換至一外接顯示器時,基本輸入輸出單元 2如較佳地可將記憶體緩衝區ECRAM所儲存之顯示識別資料複製 至糸統記憶體25()之另-區塊,以避免原先系統記憶體25〇所儲存 的顯不識別資料EDID被外接顯示器的顯示識別資料edid覆蓋而 消失’而其餘運作方式與上述相同,於此不再贅述。如此一來,當 使用者切換至林液晶顯示器時,電腦系統2(}以接讀取原先系: 1380215 :體250所儲存的液晶顯示器的顯示識別資料①以避免重 新操作流程lGffir;良費系統資源,降低效能。 ’.”τ、上所述’本發縣軸示朗㈣複製至纽記憶體中, 使得顯示驅動晶片可讀取系統記憶體所齡之顯示識师料,以取 得顯t器之參數。耻,本發日林需制關電路,崎低系統設 计的複雜度,進一步地降低生產成本。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍 所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 【圖式簡單說明】1380215 VI. Description of the Invention: [Technical Field] The present invention relates to a method for setting a display and related computer system, and more particularly to a method for reading display identification data of a display through a system memory and related computers system. [Prior Art] Due to the advancement of imaging technology, the graphical interface of many applications has evolved from two dimensional ' 2D' graphics to three dirnension (3D) graphics to increase the stereoscopic effect and presence of the object itself. . However, when executing a 3 应 application (such as a game or drawing software), it is often caused by a shortage of computer resources. Therefore, in order to be honest with the above problems, the hybrid _ secret (H coffee W Gmph1C System) responded to * students. The hybrid graphics system is more than two different types of fascinating W in the thin line, and the age is different == way. In general, among them - display driver crystal: two display days _ can be recorded as an external graphics card computer game, you can choose external display; ^ users perform complex plotting or blade graphics performance; and when the user is stubborn · Kui ''', the staff does not drive the chip, in order to achieve a smooth 3D choice of built-in _^= software on the domain board or "electronic cake, optional Leica Japanese film to save system resources. In general, in the conventional Hungarian system, the display driver chip must be read through the system 1380215 system, bus bus (system bus) to read the display: recognize (7): shell material, to automatically adjust the display Compliant resolution and scan frequency; number. In contrast, in the hybrid graphics system t, since at least ^"8" is provided, when the display driver wafer is fed through the system management data bus to feed the display information in the storage device, The NAND circuit must be used to switch the same display driver chip to obtain the display (four) side parameters. At the same time, the basic input/output system (BIOS) must control the _ circuit to change accordingly. Power supply (4) Management status. As a result, not only increase the circuit cost, but also increase the complexity of the system design. In the conventional technology, the hybrid graphics system must use the switching circuit... change = the same display driver chip 'And through the ^ ^ SMbus to read the LCD display of the identification data, not only increase the f road county, but also increase the complexity of the design. [Summary of the invention] Therefore, the main purpose of the present invention is to provide a computer system Set-display method' to simplify the system circuit. Ben Mao Ming Jie-cut - computer system settings - display method, the electric & system, especially package 3 to ^ - display Driving the chip, the method includes a member of the reading device that does not recognize the bedding material and stores the supplementary identification data into the _memory buffer; in the computer system, the first operation is performed on the self-test (p〇 At the stage, copying the display identification data stored in the memory buffer to a system memory; and storing the identification information stored by the 丄(10)215 body to obtain at least the memory of the wafer read system The parameter of the display. The invention further discloses a computer system, which is packaged in a group of 丨丨 « « for a circuit, a display test, a control person, a basic input and output unit, and a display circuit, used to meet #显不驱动芯片。 The system is used to perform the function of the computer system. It is used to display the function. It is not connected to the system circuit, and the operation is not used by the image generated by the secret circuit. Come to Jingjing Green Craftsmanship, face the § hai display, 〇5 heart, one of the ignorant indicators to display the identification data, and _ #<2,--- silk 鞠 射 射 射 储存 储存 ( ( /〇utputsystem, connected to the reading system 11, used in the computer system In the stage of "I power on seif test", copying the display identification data stored in the memory buffer to the track memory. The at least - displaying the crane chip is missing from the basic input and output element. The method for reading the identification data of the body and the body is used to obtain the parameters of the display. [Embodiment] Please refer to FIG. 1 , which is a schematic diagram of a process 10 according to an embodiment of the present invention. 10 for setting up a display in a computer system, preferably a hybrid graphics system (Hybrid Graphic System), such as a notebook computer, which includes at least one display driver chip for processing images of the computer system News. The process 10 includes the following steps: Step 100: Start. Step 120: Read one of the displays to display the identification data, and store the display identification 1380215 data into a memory buffer. Step 1 When the computer system is operating in a boot self-test (clear e (10) capture test) phase, copy the memory buffer to identify the identification data to the system memory. Step 16G. The display identification data stored in the system memory is read by the at least-display driver chip to obtain parameters of the display. Step 180: End. According to the process H) 'The present invention first reads the display (10) to display the information, and stores the identification data in the memory buffer n. When the battery is operated in the self-test, the invention stores the memory buffer. The display identification data is transferred to the system memory 'so that the display driver chip can read the dry identification data stored in the system memory' to obtain the record of the simple H, such as: explicit de-subtraction and scan rate. Therefore, when the computer system includes at least one display driver chip, the present invention temporarily displays the identification data in the memory slow-aware, and identifies the identifier stored in the memory buffer when the computer secret operation is performed during the self-test. body. Thus, the display-disabled drive wafer can be read and stored in the system 2 body: the target material is read to obtain display parameters, thereby setting the relevant configuration of the display. Compared with the prior art, the present invention does not need to make the remaining __ way to switch different _ display drive wafers. Therefore, the present invention can reduce the need for a switching circuit to reduce the reduction of the secret design and to incur less production costs. 1380215 It should be noted that the process shown in FIG. 1 is a schematic diagram of an embodiment of the present invention. Those skilled in the art can make various modifications, and are not limited thereto. For example, when the computer system is operating in a shutdown mode, the present invention can further provide a power source for reading the display identification data of the display and storing the display identification data in the memory buffer. In addition, when any display driver chip reads the display identification data stored in the system memory, the display driver chip can perform a response function for transmitting an indicator to indicate that the identification data is stored in the system. One of the address values of the memory is such that the display does not drive the wafer to read the display identification data stored in the system memory. Further, in the present invention, the display is not limited to a specific display type, and may be a built-in or external liquid crystal display (LCD) or a cathode ray tube display (CRT). When the display is a cathode ray tube display, the related operation mode is similar to the above, except that when reading the identification data (ie, step 12), a start signal is output to start reading and picking up. The display of H is (4), and it depends on the capital to survive to the memory buffer. ^About the implementation of the process 1G', please refer to FIG. 2, which is a schematic diagram of the computer system 20 of the present invention. Preferably, the computer system 2 is a notebook computer. The power system 20 includes a system circuit 21, a display 22, a controller (10), a basic input/output unit (basichPu__system, BIOS) 240, and a display driver chip VGA1, VGA2. The system circuit 21 is used to implement the 1380215 function of the computer system. The display 220 is coupled to the system circuit 210 for displaying images generated by the system circuit 21A. In addition, the display 220 package displays the identification data EDID, and is stored in the erasable readable memory (eeprqm) of the display 220 (not shown in FIG. 2) to set the resolution of the display 220 and Parameters such as scan frequency. The controller 230 is coupled to the display 220 for reading the display identification information EDID' of the display 22 through the SM bus and storing the display identification data EDID to a memory buffer area ECRAM. Preferably, the controller 230 is an embedded controller (embedded • ControlIer); the memory buffer ECRAM is an embedded controller memory (Embedded Co_Uermemoiy). In addition, a power supply (not shown in FIG. 2) provides power to the controller 23A when the computer system 20 is operating in the shutdown mode, to drive the controller 230 to read the display identification information EDID of the display 220, and Save to the scratchpad ECRAM. The basic input/output unit 240 is coupled to the controller 230 for copying the display identification data EDH stored in the register ECRAM to a system memory 25 when the computer system 20 is operating in a boot self-test phase. The display drive VGA VGA VGA2 is coupled to the basic input/output unit 24A for reading the display identification data EDID stored in the system ECRAM to obtain the parameters of the display 22, and then adjust the resolution of the display 220. Degree and scanning frequency. When the computer system 20 switches the display driver chip to meet the user's operation requirements, the display driver chip VGA1 or VGA2 can further perform a callback function 'to obtain the display identification data EDID stored in one of the system memory 25 addresses. The value adrs, thereby reading the display identification data EDID stored in the system memory 28〇. The response function indicates the address value adrs through a pointer. For the change of 9 1380215, the display of the VGA1 or VGA2 is performed by the controller. Take the system memory 25〇 stored " other information EDID. Therefore, the display identification display EDID of the display 220 of the present invention is copied into the system memory 25A, and the system memory is read by at least one display driving chip, and the stored display is displayed. The data EmD is identified to the parameters of the level display 220. It should be noted that the display 22 in Fig. 2 is not limited to a particular display type. The display 220 can be a liquid crystal display (Uquid, or a CathGdeRayTube, CRT). When the display number is changed to the cathode ray tube display, the related operation mode is similar to the above, except that the difference is in the computer group 2. It is necessary to use the -_ pin to output - start signal to the controller 230 to activate the controller 23, read the display identification information EDID of the display 22, and store the identification information EDID into the memory buffer. . In addition, when the computer system 20 is switched to an external display, the basic input/output unit 2 can preferably copy the display identification data stored in the memory buffer ECRAM to another block of the memory 25 (). In order to prevent the unidentified data EDID stored in the original system memory 25 from being overwritten by the display identification data edid of the external display, the remaining operation modes are the same as those described above, and details are not described herein again. In this way, when the user switches to the forest liquid crystal display, the computer system 2 (} is connected to read the original identification system: 1380215: the display identification data of the liquid crystal display stored in the body 250 to avoid the re-operation process lGffir; the good fee system Resources, reduce performance. '." τ, the above-mentioned 'Benfa County axis display Lang (four) copied to the new memory, so that the display driver chip can read the display memory of the system memory age to obtain the display device The parameters are shameful, and the present invention requires a circuit to be closed, which reduces the complexity of the system design and further reduces the production cost. The above description is only a preferred embodiment of the present invention, and the scope of the patent application according to the present invention is Equivalent changes and modifications should be covered by the present invention.
第1圖為本發明實施個於-電腦系統設定—顯示器例的 流程之示意圖。 B 第2圖為本發明實施例一電腦系統之示意圖。 【主要元件符號說明】 10 流程 100、120、140、160、180 步驟 20 電腦系統 210 系統電路 220 顯示器 230 控制器 1380215 240 250 VGA1 'VGA2 EDID adrs 基本輸入輸出單元 糸統記憶體 顯不驅動晶片 顯示識別資料 位址值Fig. 1 is a schematic diagram showing the flow of a computer-based system setting-display example according to the present invention. B is a schematic diagram of a computer system according to an embodiment of the present invention. [Main component symbol description] 10 Flow 100, 120, 140, 160, 180 Step 20 Computer system 210 System circuit 220 Display 230 Controller 1380215 240 250 VGA1 'VGA2 EDID adrs Basic input/output unit 记忆 memory display does not drive wafer display Identification data address value
1212