CN108549548B - Implementation method, device, equipment and storage medium for advanced display of LOGO based on Feiteng platform AMD display card system - Google Patents

Implementation method, device, equipment and storage medium for advanced display of LOGO based on Feiteng platform AMD display card system Download PDF

Info

Publication number
CN108549548B
CN108549548B CN201810293138.3A CN201810293138A CN108549548B CN 108549548 B CN108549548 B CN 108549548B CN 201810293138 A CN201810293138 A CN 201810293138A CN 108549548 B CN108549548 B CN 108549548B
Authority
CN
China
Prior art keywords
display card
display
amd
initializing
card
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.)
Active
Application number
CN201810293138.3A
Other languages
Chinese (zh)
Other versions
CN108549548A (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.)
Kirin Software Co Ltd
Original Assignee
Kirin Software 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 Kirin Software Co Ltd filed Critical Kirin Software Co Ltd
Priority to CN201810293138.3A priority Critical patent/CN108549548B/en
Publication of CN108549548A publication Critical patent/CN108549548A/en
Application granted granted Critical
Publication of CN108549548B publication Critical patent/CN108549548B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Abstract

The invention discloses a realization method for LOGO advanced display based on an AMD display card system of a Feiteng platform. Determining a display card framework according to the equipment ID of the display card so as to determine a corresponding initialization function, reading ATOMIBIOS from a PCIE ROM space of the display card, extracting parameters such as memory frequency, voltage, working frequency and the like of the display card through the ATOMIBIOS and initializing the display card, initializing a I2C bus of the display card through the ATOMIBIOS, judging the connection state of CONNECTORS by utilizing the I2C bus and reading CONNECTORS EDID information in the connection state, initializing a frame buffer zone according to the EDID information and completing corresponding mode setting, enabling corresponding CRTC and ENCODER to write corresponding contents into the frame buffer zone and displaying the corresponding contents.

Description

Implementation method, device, equipment and storage medium for advanced display of LOGO based on Feiteng platform AMD display card system
Technical Field
The invention belongs to the technical field of communication and computers, and particularly relates to a method for realizing LOGO advanced display based on an AMD display card system of a Feiteng platform.
Background
The soar platform does not integrate a display chip, and generally, an AMD PCIE display card is inserted into a soar motherboard to serve as display output. For the newer AMD PCIE display card, due to the reason that a 2D hardware unit is removed from the structure, frame buffer driving which is displayed in advance like an INTEL integrated display card can not be provided any more; firmware also fails to provide a UEFI display call interface like the x86 platform. Therefore, the LOGO of the existing Feiteng platform system can be output to a screen only after the display card is loaded to drive the initialization display card and the corresponding mode setting is completed. Generally, the loading of the graphics card driver depends on modules such as ACPI, DMA, RESET, TTY, CHAR, IOMMU, and the like, and the graphics card driver can be loaded only after the modules are loaded, which is a long time and affects user experience.
Disclosure of Invention
The invention provides a method for realizing LOGO display in advance based on an AMD display card system of a Feiteng platform, aiming at solving the defects and shortcomings in the prior art, so that the Feiteng platform can provide a basic frame buffer area in a short time after the kernel is guided, and the content written into the frame buffer area can be output to a terminal.
In order to solve the technical problems, the invention adopts the technical scheme that: a realization method for LOGO advanced display based on an AMD display card system of a Feiteng platform sequentially comprises the following steps:
s110: initializing an AMD display card, comprising:
s111: determining an initialization function of the display card;
s112: acquiring a PCIE BAR space of a display card, and mapping MEM, IO and ROM spaces of the display card;
s113: acquiring ATOMIBIOS of a display card, and initializing the ATOMIBIOS interpreter;
s114: extracting and setting working parameters of the display card
S120: setting a mode of the AMD display card, including:
s121: initializing the display card I2C bus through the ATOMIBIOS;
s122: judging the connection state of CONNECTORS through the I2C bus, and reading the EDID information of the CONNECTORS in the connection state;
s123: matching the CRTC and the ENCODER according to the CONNECTORS information in the connection state;
s124: initializing corresponding CRTC, ENCODER and CONNECTOR, and completing corresponding mode setting;
s130: establishing the AMD display card frame buffer area, comprising the following steps:
s131: obtaining EDID information;
s132: extracting required resolution and color depth information according to the obtained EDID information;
s133: applying for a required space in a video memory as a frame buffer area;
s134: and setting the address information of the space to a related register of the CRTC to be used as a data source output by the display card.
Preferably, determining the initialization function of the graphics card includes the steps of,
s1111: reading the equipment ID of the display card;
s1112: determining a display card framework according to the equipment ID of the display card;
s1113: and determining an initialization function of the display card according to the display card architecture.
Preferably, the establishing the AMD video card frame buffer further comprises writing the content to be displayed into the frame buffer, and the video card outputs the content to the corresponding display.
Preferably, the initialization AMD display card comprises an initialization register, a 3D engine and a storage controller
An apparatus runs the data processing method.
The device comprises the device and runs the data processing method.
A storage medium storing a plurality of instructions adapted to, when run on a computer, cause the computer to perform the data processing method.
The invention has the advantages and positive effects that: determining a display card framework according to the equipment ID of the display card so as to determine a corresponding initialization function, reading ATOMIBIOS from a PCIE ROM space of the display card, extracting parameters such as memory frequency, voltage, working frequency and the like of the display card through the ATOMIBIOS, initializing a display card I2C bus through the ATOMIBIOS, judging the connection state of CONNECTORS by utilizing the I2C bus and reading CONNECTORS EDID information in the connection state, initializing a frame buffer zone according to the EDID information and completing corresponding mode setting, so that corresponding CRTC and ENCODER can be written into the frame buffer zone to display corresponding contents; the method does not depend on modules such as ACPI, DMA, RESET, TTY, CHAR, IOMMU and the like, and can provide a basic display environment in a short time after kernel booting by the method after PCIE bus initialization, thereby improving user experience.
Drawings
Fig. 1 is a schematic diagram of an initialization process for early display of a LOGO in an AMD video card system according to an embodiment of the present invention.
Detailed Description
Embodiments of the present application will be described in detail with reference to the drawings and examples, so that how to implement technical means to solve technical problems and achieve technical effects of the present application can be fully understood and implemented.
The advanced display initialization process of the Feiteng platform AMD display card system LOGO is shown in the first drawing, and the specific embodiment comprises the following steps:
step S101: reading the ID of the display card equipment and determining the architecture of the display card according to the ID so as to determine the initialization function of the display card;
step S102: acquiring a PCIE BAR space address of the display card, and mapping PCIE MEM, IO and ROM spaces corresponding to the PCIE BAR space address;
step S103: acquiring ATOMIBIOS of the display card from a PCIE ROM space of the display card and initializing an ATOMIBIOS interpreter;
step S104: extracting parameters such as core voltage, working frequency and video memory frequency of the video card through ATOMIBIOS;
step S105: setting core voltage, frequency and video memory frequency of the video card according to the parameters acquired in S103, and initializing a video card initialization register, a 3D engine, a storage controller and the like;
step S106: initializing a display card I2C bus through ATOMIBIOS, judging the connection state of CONNECTORS by utilizing an I2C bus, and reading CONNECTORS EDID information in the connection state, wherein the CONNECTORS EDID information comprises the resolution, the color depth, the refresh rate and the connection type of a display;
step S107: matching appropriate CRTC and ENCODER for CONNECTOR in a connection state, and initializing corresponding CRTC, ENCODER and CONNECTOR so as to complete corresponding mode setting;
step S108: extracting the most appropriate resolution and color depth information according to the EDID information obtained in S106, applying a space with an appropriate size in a video memory as a frame buffer, and setting the address information of the space to a related register of a CRTC (critical communication technology) as a data source output by the video card, so that the video card reads the content from the space and displays the content on a display;
step S109: writing the content to be displayed into a frame buffer area, and automatically outputting the content to a screen by a display card;
the invention has the beneficial effects that:
1. the display calling interface provided by the firmware is not relied on, so that a basic display environment can be provided before the display card driver is loaded;
2. the method does not depend on modules such as ACPI, DMA, RESET, TTY, CHAR, IOMMU and the like, and can provide a basic display environment in a short time after kernel booting by the method after PCIE bus initialization, thereby improving user experience.
As used in the specification and in the claims, certain terms are used to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This specification and claims do not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. "substantially" means within an acceptable error range, and a person skilled in the art can solve the technical problem within a certain error range to substantially achieve the technical effect. The description which follows is a preferred embodiment of the present application, but is made for the purpose of illustrating the general principles of the application and not for the purpose of limiting the scope of the application. The protection scope of the present application shall be subject to the definitions of the appended claims.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
The foregoing description shows and describes several preferred embodiments of the present application, but as aforementioned, it is to be understood that the application is not limited to the forms disclosed herein, but is not to be construed as excluding other embodiments and is capable of use in various other combinations, modifications, and environments and is capable of changes within the scope of the application as described herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the application, which is to be protected by the claims appended hereto.

Claims (7)

1. A realization method for LOGO advanced display based on an AMD display card system of a Feiteng platform is characterized in that: the method sequentially comprises the following steps:
s110: initializing an AMD display card, comprising:
s111: determining an initialization function of the display card;
s112: acquiring a PCIE BAR space of a display card, and mapping MEM, IO and ROM spaces of the display card;
s113: acquiring ATOMIBIOS of a display card, and initializing the ATOMIBIOS interpreter;
s114: extracting and setting working parameters of the display card
S120: setting a mode of the AMD display card, including:
s121: initializing the display card I2C bus through the ATOMIBIOS;
s122: judging the connection state of CONNECTORS through the I2C bus, and reading the EDID information of the CONNECTORS in the connection state;
s123: matching the CRTC and the ENCODER according to the CONNECTORS information in the connection state;
s124: initializing corresponding CRTC, ENCODER and CONNECTOR, and completing corresponding mode setting;
s130: establishing the AMD display card frame buffer area, comprising the following steps:
s131: obtaining EDID information;
s132: extracting required resolution and color depth information according to the obtained EDID information;
s133: applying for a required space in a video memory as a frame buffer area;
s134: and setting the address information of the space to a related register of the CRTC to be used as a data source output by the display card.
2. The implementation method of LOGO advanced display based on the Feiteng platform AMD display card system of claim 1, wherein: determining the initialization function of the graphics card includes the steps of,
s1111: reading the equipment ID of the display card;
s1112: determining a display card framework according to the equipment ID of the display card;
s1113: and determining an initialization function of the display card according to the display card architecture.
3. The implementation method of LOGO advanced display based on the Feiteng platform AMD display card system of claim 2, wherein: the establishing of the AMD display card frame buffer area further comprises writing the content to be displayed into the frame buffer area, and the display card outputs the content to the corresponding display.
4. The implementation method of LOGO advanced display based on the Feiteng platform AMD display card system of claim 1, wherein: the initialization AMD display card comprises an initialization register, a 3D engine and a storage controller.
5. An apparatus, characterized in that a method according to any of claims 1 to 4 is operated.
6. An apparatus comprising a device according to claim 5, operating a method according to any one of claims 1 to 4.
7. A storage medium storing a plurality of instructions adapted to cause a computer, when run on the computer, to perform the method of any one of claims 1 to 4.
CN201810293138.3A 2018-03-30 2018-03-30 Implementation method, device, equipment and storage medium for advanced display of LOGO based on Feiteng platform AMD display card system Active CN108549548B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810293138.3A CN108549548B (en) 2018-03-30 2018-03-30 Implementation method, device, equipment and storage medium for advanced display of LOGO based on Feiteng platform AMD display card system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810293138.3A CN108549548B (en) 2018-03-30 2018-03-30 Implementation method, device, equipment and storage medium for advanced display of LOGO based on Feiteng platform AMD display card system

Publications (2)

Publication Number Publication Date
CN108549548A CN108549548A (en) 2018-09-18
CN108549548B true CN108549548B (en) 2021-06-11

Family

ID=63514073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810293138.3A Active CN108549548B (en) 2018-03-30 2018-03-30 Implementation method, device, equipment and storage medium for advanced display of LOGO based on Feiteng platform AMD display card system

Country Status (1)

Country Link
CN (1) CN108549548B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113515253A (en) * 2021-07-14 2021-10-19 摩尔线程智能科技(北京)有限责任公司 Working method of display adapter, display adapter and electronic equipment
CN114567784B (en) * 2022-04-24 2022-08-16 银河麒麟软件(长沙)有限公司 VPU video decoding output method and system for Feiteng display card

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101634960A (en) * 2008-07-23 2010-01-27 鸿富锦精密工业(深圳)有限公司 Method for revising BIOS parameter and regenerating checksum
CN102609231B (en) * 2012-02-22 2014-12-31 中国人民解放军国防科学技术大学 Multi-display output method based on Feiteng processor platform
WO2015150871A1 (en) * 2014-04-02 2015-10-08 Continental Automotive Gmbh Early rear view camera video display in a multiprocessor architecture
CN106909348A (en) * 2015-12-22 2017-06-30 中电科技(北京)有限公司 A kind of video card initialization method under domestic processor platform based on UEFI firmwares
CN206757591U (en) * 2016-11-25 2017-12-15 湖南长城银河科技有限公司 A kind of video card equipment switching device based on platform of soaring, server
CN107066222A (en) * 2017-02-10 2017-08-18 济南浪潮高新科技投资发展有限公司 A kind of quick display device and method based on domestic processor platform

Also Published As

Publication number Publication date
CN108549548A (en) 2018-09-18

Similar Documents

Publication Publication Date Title
JP5755333B2 (en) Technology to control display operation
US20100321395A1 (en) Display simulation system and method
US10803785B2 (en) Electronic device and method for controlling output timing of signal corresponding to state in which content can be received based on display location of content displayed on display
US20190073972A1 (en) Driving method for display panel, driving device for display panel and display panel
JP2011248357A (en) Processing method, display controller, and computer readable medium
US20200225296A1 (en) Display module test platform
CN104835470B (en) Display base plate driving device and driving method, display equipment
US20090300588A1 (en) Method and apparatus for acquiring definitions of debug code of basic input/output system
CN108549548B (en) Implementation method, device, equipment and storage medium for advanced display of LOGO based on Feiteng platform AMD display card system
CN104375852B (en) A method of accelerating embedded product starting-up interface and shows
TW200905661A (en) Interface apparatus and method for writing extended display identification data
US6963344B1 (en) Method and system for utilizing graphics memory to provide storage for video BIOS initialization
CN110703939B (en) Handwriting reading equipment and report point data processing method thereof, and computer storage medium
CN105068835B (en) Mobile terminal and debugging information display method thereof
CN111752623A (en) Display configuration method and device, electronic equipment and readable storage medium
CN111176738B (en) Display card display method and system of UEFI mode and related components thereof
US11373627B2 (en) Electronic device and method for moving content display position on basis of coordinate information stored in display driver circuit
CN107678718A (en) Compatibility processing method, mobile terminal and the storage medium of different resolution display screen
US11538438B2 (en) Electronic device and method for extending time interval during which upscaling is performed on basis of horizontal synchronization signal
CN110673815B (en) Bitmap display method, device, equipment and computer readable storage medium
US20060262107A1 (en) System for operating display devices for image data via predetermined data bus configurations
US9001133B2 (en) Edid shadowing techniques for fast display startup
US8749565B2 (en) Error check-only mode
US10049428B2 (en) Diagnostic data generation apparatus, integrated circuit and method of generating diagnostic data
WO2022099534A1 (en) Automatic update for transmitting a command to a display panel

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
CB03 Change of inventor or designer information

Inventor after: Wang Yongjun

Inventor after: Zhou Lei

Inventor after: Liu Yihu

Inventor after: Zhang Duo

Inventor after: Sun Liming

Inventor after: Wei Lifeng

Inventor after: Kong Jinzhu

Inventor before: Wang Yongjun

Inventor before: Zhou Lei

Inventor before: Liu Yihu

Inventor before: Zhang Duo

Inventor before: Sun Liming

Inventor before: Wei Lifeng

Inventor before: Kong Jinzhu

Inventor before: Wu Qingbo

CB03 Change of inventor or designer information
CB02 Change of applicant information

Address after: 6-8 / F, building 3, Xin'an pioneer Plaza, Tanggu marine science and Technology Park, Binhai New Area, Tianjin 300450

Applicant after: Kirin Software Co.,Ltd.

Address before: 300457 6-8 / F, building 3, Xin'an pioneer Plaza, Tanggu marine science and Technology Park, Binhai New Area, Tianjin

Applicant before: TIANJIN KYLIN INFORMATION TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant