Cache invalidation method and apparatus for a graphics...

Computer graphics processing and selective visual display system – Computer graphics display memory system – Cache

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C345S531000, C345S537000, C711S113000, C711S118000

Reexamination Certificate

active

06734867

ABSTRACT:

TECHNICAL FIELD
The present invention is related generally to the field of computer graphics, and more particularly, to caching graphics information in a computer graphics processing system.
BACKGROUND OF THE INVENTION
A graphics accelerator is a specialized graphics processing subsystem for a computer system. An application program executing on a processor of the computer system generates geometry input data that defines graphics elements for display on a display device. The application program typically transfers the geometry information from the processor to the graphics processing system. The graphics processing system, as opposed to the processor, has the task of rendering the corresponding graphics elements on the display device to allow the processor to handle other system requests. The graphics data is processed per graphics frame before being rasterized on the display device.
As the use and application of computer graphics continues to grow, there is an increasing demand for graphics processing systems that provide more realistic image rendering, such as more realistic coloring, shading, and detailing. There is also an increasing demand for graphics processing systems that can realistically render three dimensional (3D) objects, as well as provide seamless animation of 3D images. Consequently, current graphics processing systems must be able to not only process more graphics data, but also at a faster processing rate. Processing this amount of data requires not only high-speed graphics processing units, but also requires that graphics data be provided to the processor at high-speeds. It is often the case where a host memory of the computer system cannot provide graphics data at a sufficient rate to satisfy this demand, so high-speed caches have been integrated into graphics processing systems to supplement the host memory and provide a limited quantity of graphics data quickly.
Although data caches facilitate high-speed processing, a cache management technique must be employed in order to maintain the integrity of the cached graphics data. For example, the data stored in the cache must be updated or marked as invalid whenever the graphics data changes, such as when new graphics data replaces older graphics data in the host memory. With respect to texture mapping applications, this may occur at a rate of approximately once per frame, but can occur more frequently if there are more texture data than can fit in the host memory at one time, or less frequently if the texture data are used for a number of frames. A graphics frame is typically considered to be the data necessary to produce a full screen image on the display.
Data caches of conventional graphics processing systems are typically not very large. These smaller caches may be large enough to store only the graphics data required to generate one scan line of data. With caches such as these, a cache management technique that invalidates the entire cache each time new graphics data replaces older graphics data in the host memory may be an efficient method for cache management because invalidating the entire cache can be accomplished simply and quickly for smaller-sized caches. Often times, the entire cache can be invalidated in a single clock cycle. Nevertheless, it is often desirable to have a large cache. For example, one benefit is that a larger cache increases the chance of a cache “hit,” and consequently, more data is available to be provided for processing at high-speed. However, the increase in system performance provided by a larger cache may not justify the cost of fabricating a larger cache, which occupies more physical space on the die than a smaller cache.
One reason larger-sized caches provide limited benefits is that efficient cache management of large caches is difficult with conventional cache management techniques. Unlike with small caches, invalidating the entire cache after each time new graphics data replaces older graphics data in the host memory does not result in efficient cache use because the greater majority of the other data stored in the larger-sized cache is not necessarily invalid as well. Additionally, it is difficult to invalidate a particular data block in the cache whenever new graphics data replaces older graphics data in system memory because locating and setting an invalidation flag for that particular data block typically requires complex circuitry. This especially so with a fully associative cache where data may be stored in any of the available data blocks.
Therefore, there is a need for a cache management technique that may be used with various sized data caches to enhance graphics processing performance.
SUMMARY OF THE INVENTION
A method and apparatus for storing blocks of graphics data written to a memory in a graphics processing system. The cache memory includes a first memory for storing an address and an associated ID number for each block of graphics data stored in the cache memory. The address stored in the first memory corresponds to a storage location in the memory. The associated ID number stored in the first memory is assigned to the block of graphics data to distinguish between blocks of graphics data having the same address. The cache memory further includes a comparator coupled to the first memory for generating a signal in response to receiving a requested address and ID number for graphics data that matches an address and its associated ID number stored in the first memory. A second memory coupled to the comparator provides the block of graphics data corresponding to the matching address and associated ID number in response to receiving the signal from the comparator. However, if the requested address does not match an entry in the first memory, or the requested address matches an entry, but the requested ID number does not match the ID number associated with the matching address, a cache miss occurs, and the requested graphics data is retrieved from a system memory. The former address and ID number, and former graphics data are replaced with the requested address and ID number, and the retrieved graphics data, respectively.


REFERENCES:
patent: 5402147 (1995-03-01), Chen et al.
patent: 5459835 (1995-10-01), Trevett
patent: 5537572 (1996-07-01), Michelsen et al.
patent: 5692154 (1997-11-01), Tucker et al.
patent: 5710905 (1998-01-01), Wan
patent: 5761720 (1998-06-01), Krishnamurthy et al.
patent: 5829035 (1998-10-01), James et al.
patent: 5835096 (1998-11-01), Baldwin
patent: 6021459 (2000-02-01), Norman et al.
patent: 6069638 (2000-05-01), Porterfield
patent: 6157987 (2000-12-01), Krishnamurthy et al.
patent: 6212602 (2001-04-01), Wicki et al.
patent: 6378047 (2002-04-01), Meyer
patent: 6437789 (2002-08-01), Tidwell et al.
patent: 6513099 (2003-01-01), Smith et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Cache invalidation method and apparatus for a graphics... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Cache invalidation method and apparatus for a graphics..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Cache invalidation method and apparatus for a graphics... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3262700

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.