PS3 GPU DRM Driver: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 17: Line 17:
=Milestones=
=Milestones=


1. Create initial driver infrastructure (work in progress)
# Create initial driver infrastructure (work in progress)
2. Implement unaccelerated framebuffer console
# Implement unaccelerated framebuffer console
3. Add hardware acceleration to framebuffer console
# Add hardware acceleration to framebuffer console
4. Implement IOCTLs for user-space applications
# Implement IOCTLs for user-space applications
5. Add PS3 GPU DRM support to libdrm and implement tests for it
# Add PS3 GPU DRM support to libdrm and implement tests for it
6. Implement X11 driver for PS3 GPU DRM
# Implement X11 driver for PS3 GPU DRM


=Links=
=Links=

Revision as of 21:54, 20 September 2012

Introduction

  • We really need a proper GPU DRM driver for PS3.
  • The problem is that Linux kernel DRM framework is very complex and not well documented.

Linux Kernel DRM Framework

KMS

  • CRTC -> Encoder -> Connector

TTM

  • Manages memory: video memory, GART memory and system memory.
  • Nouveau DRM driver e.g. manages video memory globally per device. We cannot do it because each context has its own video memory.

Milestones

  1. Create initial driver infrastructure (work in progress)
  2. Implement unaccelerated framebuffer console
  3. Add hardware acceleration to framebuffer console
  4. Implement IOCTLs for user-space applications
  5. Add PS3 GPU DRM support to libdrm and implement tests for it
  6. Implement X11 driver for PS3 GPU DRM

Links

DRM User-Space

DRM Kernel-Space