Method and system for reasonably using memory of display buffer

A buffer and memory technology, applied in the direction of digital output to display devices, program control devices, program loading/starting, etc., can solve problems such as complex operations, poor user experience, memory waste, etc., and achieve improved display quality and better visual experience , the effect of improving the utilization rate

Active Publication Date: 2015-09-02
FUZHOU ROCKCHIP SEMICON
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The first method is to turn off the backlight during the initialization stage of the operating system, and then turn on the backlight for image display after the LCD controller driver of the operating system is initialized. This method will result in discontinuous image display and poor user experience.
[0004] The second method is to modify the memory mapping relationship of the operation topic, so that the operating system does not use the memory area used by the bootloader to save image data during the initialization phase. Although this method can solve the problem, the operation is very complicated and needs to be initialized. Configure two MMU tables in the phase and non-initialization phase, and configure them separately, which can easily lead to system exceptions
However, the bootloader and the operating system mentioned in this invention open up different display frame buffer memories respectively to copy the picture data; The first display memory is used for other purposes, resulting in blurred screen)
[0006] The fourth technology is to open up an independent physical memory control. This space is only configured for LCD during the life cycle of the bootloader and operating system, but this creates a problem. The operating system needs to target different screens and resolutions. Open up different sizes of display frame buffer memory, if the image displayed in the bootloader is very large (it needs to open up a large memory to save the image), but the image to be displayed in the operating system is small, then this memory Wasted (the OS can't use the extra part)

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
  • Method and system for reasonably using memory of display buffer
  • Method and system for reasonably using memory of display buffer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] see figure 1 As shown, a method for rationally utilizing display buffer memory of the present invention, said method comprises the following steps:

[0029] Step 1, bootloader apply for a memory according to the size of the required display picture, and save the picture data in the memory; said step 1 further includes: the bootloader copies the picture data to the position of the memory, allowing the LCD controller to read from the memory. This method takes out image data for output and display.

[0030] Step 2, marking the address of the memory one as unusable, the operating system will be marked as unusable memory one by the bootloader in the memory initialization stage and removed from the memory pool of the operating system; the step 2 further includes: the bootloader transfers the memory one The initialized address value is passed to the operating system with parameters, and the address of this segment of memory is marked as unusable. During the memory initializat...

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 reasonably using a memory of a display buffer. The method for reasonably using the memory of the display buffer includes the following steps that 1, a boot loader applies a memory 1 according to the size of a picture to be displayed, and saves picture data in the memory 1; 2, the address of the memory 1 is marked as 'unavailable', and an operation system removes the memory 1 marked as 'unavailable' by the boot loader from a memory pool of the operation system in a memory initialization phase; 3, an LCD (liquid crystal display) controller drive of the operation system obtains a memory 2 needed by display buffering of a current frame according to screen distinguishing rate, and informs a memory manager of the operation system; 4, the memory manager performs a comparison according to the needed memory 2 and the memory 1 so as to execute supplementation or memory recycle. The method for reasonably using the memory of the display buffer high elastically displays the frame data buffer memory in recoverable and supplementary mode, and improves use rate of internal storage of the operation system.

Description

technical field [0001] The invention relates to the technical field of embedded devices, in particular to a method and system for rationally utilizing display buffer memory. Background technique [0002] Many of the current embedded devices need to display a picture during the bootloader guidance phase, and the picture also needs to continue to be displayed during the initialization phase of the operating system. The bootloader will assign a memory address storing the picture data to the display frame buffer address of the LCD controller, and the LCD controller will obtain the picture data from the address for display. Then, when the operating system is initialized, the memory used by the bootloader to store and display images is mistakenly used for other purposes, resulting in the modification of the LCD output data during the operating system initialization phase, which appears as a blurred screen. To cope with this problem, several techniques are currently in common use....

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 Applications(China)
IPC IPC(8): G06F3/14G06F9/445
Inventor 蔡文忠姚智情陈美友
Owner FUZHOU ROCKCHIP SEMICON
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