A method for realizing memory allocation of discrete graphics card on Loongson computing platform

A technology of independent graphics card and computing platform, applied in computing, memory systems, instruments, etc., can solve problems such as unseen invention patents, technical achievements or implementation solutions, and achieve the effect of improving graphics and image processing capabilities and fast reading and writing.

Active Publication Date: 2017-11-07
NO 15 INST OF CHINA ELECTRONICS TECH GRP +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, there is no invention patent, technical achievement or implementation plan similar to the present invention

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 for realizing memory allocation of discrete graphics card on Loongson computing platform
  • A method for realizing memory allocation of discrete graphics card on Loongson computing platform
  • A method for realizing memory allocation of discrete graphics card on Loongson computing platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention is described in detail below in conjunction with accompanying drawing.

[0024] 1. Optimization and implementation of TTM video memory management algorithm

[0025] The TTM algorithm is a general video memory access control management method, which can provide an efficient video memory data read and write control mechanism for different CPU computing platforms and different manufacturers of graphics cards (core graphics card or independent graphics card), realizing comprehensive functions and good efficiency.

[0026] 1) TTM algorithm execution flow

[0027] a) The upper layer application calls the DRM device object through the user state DRM dynamic link library, and then calls the TTM file object. TTM exists in the form of a file for DRM, that is, it encapsulates a real buffer object, which mainly matches the file system under Linux.

[0028] b) After that, the TTM module is designed as a control module that can efficiently manage video memory....

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 provides a method for realizing video memory allocation of an independent graphics card on a Loongson computing platform, and solves the problem of video memory access control by adopting a TTM video memory management method. Step 1: Design the data structure definition for TTM algorithm based on TTM algorithm, create buffer object data structure and its base class, and realize data replacement and CPU mapping; Step 2: Design isolation mechanism to realize data synchronization, through the created buffer The fence is used to lock the buffer, and then realize the synchronization of data, and realize the access of multiple processes or multiple processors to check the same buffer object space at the same time: Step 3: Adopt the second-level cache lock mechanism based on the Godson 3B processor chip The kernel call method, by adding two system calls sys_scache_lock and sys_scacheunlock in the operating system kernel, realizes locking the L2 cache in the Loongson chip, improving the fast access and reading and writing of video memory data by DMA, combined with the data synchronization in step 2 , to realize the data access control of the video memory of the graphics card.

Description

technical field [0001] The invention relates to a method for realizing memory allocation of an independent graphics card on a Loongson computing platform, belonging to the field of graphics and image processing. Background technique [0002] As a special device in the computer, the graphics card is responsible for processing graphics signals. The graphics information output on the monitor is generated by the graphics card and sent to the monitor. Therefore, the performance of the graphics card determines the display effect of the computer. Graphics cards are divided into integrated graphics cards and discrete graphics cards. The integrated graphics card is to integrate the GPU into the CPU or North Bridge chip, and the video memory and its related circuits are integrated with the motherboard. Independent graphics card refers to the integration of high-performance display chips, video memory and related circuits on a single circuit board, which exists as an independent board...

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): G06F12/128
Inventor 张超屈涛梁瑛
Owner NO 15 INST OF CHINA ELECTRONICS TECH GRP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products