[haiku-bugs] [Haiku] #8612: app_server needs to be multi-head aware

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Tue, 29 May 2012 02:45:08 -0000

#8612: app_server needs to be multi-head aware
-------------------------------------------------+-------------------------
 Reporter:  kallisti5                            |        Owner:  axeld
     Type:  enhancement                          |       Status:  new
 Priority:  low                                  |    Milestone:
Component:  Servers/app_server                   |  Unscheduled
 Keywords:  multiple display, multiple crtc,     |      Version:
  multihead, multi-head                          |  R1/Development
 Blocking:                                       |   Blocked By:
 Platform:  All                                  |  Has a Patch:  0
-------------------------------------------------+-------------------------
 Multiple monitors beyond the hacked together radeon driver will not
 function due to hooks missing important information such as "which display
 does this effect"

 Each monitor is considered a crt controller (crtc)

 The following hooks need a multi-monitor parameter (ex: uint8 display):
  * B_ACCELERANT_MODE_COUNT
  * B_GET_EDID_INFO
  * B_GET_MODE_LIST
  * B_GET_PREFERRED_DISPLAY_MODE
  * B_GET_DISPLAY_MODE
  * B_SET_DISPLAY_MODE (not *required* as we could just set the recommended
 mode stored in the accelerant on all displays)
  * is_mode_supported callback in "create_display_modes"

 New hooks may be needed to specify:
  * Get number of displays... B_GET_DISPLAY_COUNT?

 Other hooks may include:
  * Monitor hotplug events (reversed from accelerant -> app_server)

 radeon_hd stores multiple monitors internally and shows that making the
 app_server as unaware of multiple heads is almost possible except for the
 cases above where we need guidance.

 This is definitely a post-R1 enhancement as it would break binary
 compatibility with existing Be drivers and would be a big task introducing
 potential bugs.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8612>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: