Journal of Shanghai Jiao Tong University(Science) ›› 2020, Vol. 25 ›› Issue (5): 615-622.doi: 10.1007/s12204-020-2221-0

• • 上一篇    下一篇

BFM: A Bus-Like Data Feedback Mechanism Between Graphics Processor and Host CPU

DENG Junyong (邓军勇), JIANG Lin (蒋林)   

  1. (1. School of Electronic Engineering, Xi’an University of Posts and Telecommunications, Xi’an 710121, China; 2. School of
    Communication and Information Engineering, Xi’an University of Science and Technology, Xi’an 710054, China)
  • 出版日期:2020-10-28 发布日期:2020-09-11
  • 通讯作者: DENG Junyong (邓军勇) E-mail:djy@xupt.edu.cn

BFM: A Bus-Like Data Feedback Mechanism Between Graphics Processor and Host CPU

DENG Junyong (邓军勇), JIANG Lin (蒋林)   

  1. (1. School of Electronic Engineering, Xi’an University of Posts and Telecommunications, Xi’an 710121, China; 2. School of
    Communication and Information Engineering, Xi’an University of Science and Technology, Xi’an 710054, China)
  • Online:2020-10-28 Published:2020-09-11
  • Contact: DENG Junyong (邓军勇) E-mail:djy@xupt.edu.cn

摘要: Graphics processors have received an increasing attention with the growing demand for gaming, video
streaming, and many other applications. During the graphics rendering with OpenGL, host CPU needs the runtime
attributes to move on to the next procedure of rendering, which covers almost all the function units of
graphics pipeline. Current methods suffer from the memory capacity issues to hold the variables or huge amount
of data passing paths which can cause congestion on the interface between graphics processor and host CPU. This
paper refers to the operation principle of commuting bus, and proposes a bus-like data feedback mechanism (BFM)
to traverse all the pipeline stages and collect the run-time status data or execution error of graphics rendering,
then send them back to the host CPU. BFM can work in parallel with the graphics rendering logic. This method
can complete the data feedback task easily with only 0.6% increase of resource utilization and has no negative
impact on performance, which also obtains 1.3 times speed enhancement compared with a traditional approach.

关键词: data feedback mechanism, run-time attributes, OpenGL, graphics processor, host CPU

Abstract: Graphics processors have received an increasing attention with the growing demand for gaming, video
streaming, and many other applications. During the graphics rendering with OpenGL, host CPU needs the runtime
attributes to move on to the next procedure of rendering, which covers almost all the function units of
graphics pipeline. Current methods suffer from the memory capacity issues to hold the variables or huge amount
of data passing paths which can cause congestion on the interface between graphics processor and host CPU. This
paper refers to the operation principle of commuting bus, and proposes a bus-like data feedback mechanism (BFM)
to traverse all the pipeline stages and collect the run-time status data or execution error of graphics rendering,
then send them back to the host CPU. BFM can work in parallel with the graphics rendering logic. This method
can complete the data feedback task easily with only 0.6% increase of resource utilization and has no negative
impact on performance, which also obtains 1.3 times speed enhancement compared with a traditional approach.

Key words: data feedback mechanism, run-time attributes, OpenGL, graphics processor, host CPU

中图分类号: