Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for configuring graphics card resources based on Loongson computer

A resource allocation and computer technology, applied in the computer field, can solve problems such as graphics card conflicts, inconvenient address space configuration, and high cost, and achieve the effects of simplified operation, good scalability, and reduced costs

Active Publication Date: 2021-09-03
NO 709 RES INST OF CHINA SHIPBUILDING IND CORP
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and device for configuring graphics card resources based on Loongson computers, which are used to solve the problems of conflicts in existing graphics cards, inconvenient configuration of address space, and high cost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for configuring graphics card resources based on Loongson computer
  • A method and device for configuring graphics card resources based on Loongson computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] see figure 1 , the implementation flow of the Godson computer-based graphics card resource configuration method provided by the embodiment of the present invention includes:

[0024] Step S101, after starting the Loongson computer, obtain all graphics card information of the Loongson computer through the PCIe bus;

[0025] Said starting the Loongson computer refers to starting the BIOS or operating system installed on the Loongson computer. After the computer is powered on, the processor and memory on the Loongson computer will be initialized.

[0026] Optionally, starting the Loongson computer includes: after powering on the Loongson computer, initializing the Loongson processor, memory, north bridge chip, PCIe controller and south bridge chip. The initialization is to set the above-mentioned hardware devices to a default initial state.

[0027] Described PCIe is a kind of high-speed serial computer expansion bus standard, and the connected device allocates the exclu...

Embodiment 2

[0044] A method for configuring graphics card resources based on a Loongson computer is mainly described above, and a device for configuring video card resources based on a Loongson computer will be described in detail below.

[0045] figure 2 A structural diagram of an embodiment of a Godson computer-based graphics card resource configuration device in an embodiment of the present invention is shown, and the device includes:

[0046] Obtaining module 21: after being used to start the Loongson computer, obtain all graphics card information of the Loongson computer through the PCIe bus;

[0047] Optionally, the acquisition module includes:

[0048] Initialization unit: used to initialize the Loongson processor, memory, north bridge chip, PCIe controller and south bridge chip after the Loongson computer is powered on.

[0049] Optionally, the acquisition module also includes:

[0050] Scanning unit: used to set the current bus as bus 0, and start scanning all connected devic...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a Godson computer-based graphics card resource allocation method and device, which are used in the field of computer resource allocation. The method provided by the present invention includes: after starting the Loongson computer, obtaining all graphics card information of the Loongson computer through the PCIe bus; creating a priority array for all graphics cards in the memory, wherein each item in the array corresponds to the priority of each graphics card level, and preset a graphics card in the array with the highest priority; traverse the array, obtain the graphics card with the highest priority, and read the information of the graphics card with the highest priority; The graphics card allocates address space. In the present invention, the priority of the data is set, so that the address space can be allocated according to the priority of the graphics card, thereby reducing the cost increased by refitting the hardware, simplifying the operation, and having good expansibility at the same time.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for configuring graphics card resources based on a Godson computer. Background technique [0002] Loongson computer is a computer with Loongson main board as the core and equipped with peripheral devices such as display devices, storage devices, and network devices. After the computer is powered on, it usually needs to scan all peripheral devices and allocate address space for peripheral devices. For Loongson computers, When multiple graphics cards are configured for it, because the address space required by the graphics card is large, and the address resources of the computer peripherals are difficult to meet the demand, the address space allocation fails. [0003] At present, in view of the address conflict of multiple graphics card devices in Loongson computers, the method of installing additional hardware is often used to select the connected graphics card, that i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/4401G06F9/445G06F13/38
CPCG06F9/4411G06F9/4451G06F13/387G06F2213/0026
Inventor 黄涌蒲昱初张睿
Owner NO 709 RES INST OF CHINA SHIPBUILDING IND CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products