app_server needs to be multi-head aware
|Reported by:||kallisti5||Owned by:||nobody|
|Keywords:||multiple display, multiple crtc, multihead, multi-head||Cc:|
|Blocked By:||#10486||Blocking:||#8485, #8626, #9932, #11907, #15151|
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_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.