Supporting Initialization and Termination Functions

A graphics driver can support multiple devices and multiple concurrent use of each device. Therefore, initialization and termination occur in three distinct layers, with each layer having its own timing. Initialization occurs in the following order:

  1. Driver initialization

  2. PDEV initialization

  3. Surface initialization

Termination occurs in the reverse order.