Ben Skeggs
9fe4e17704
drm/nouveau/disp/nv50-: fetch mask of available sors during oneinit
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2018-05-18 15:01:20 +10:00
Ben Skeggs
7df1bb87b8
drm/nouveau/disp/nv50-: avoid creating ORs that aren't present on HW
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-06-17 11:23:44 +10:00
Ben Skeggs
8d7ef84d90
drm/nouveau/disp/nv50-: implement a common supervisor 2.2
...
This makes use of all the additional routing and state added in previous
commits, making it possible to deal with GM20x macro link routing, while
also sharing code between the NV50 and GF119 implementations.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-06-16 14:05:00 +10:00
Ben Skeggs
409b9e5472
drm/nouveau/disp/gt215-: port HDA ELD controls to nvkm_ior
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-06-16 14:04:56 +10:00
Ben Skeggs
7d1fede03c
drm/nouveau/disp/g94-: port OR DP drive setting control to nvkm_ior
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-06-16 14:04:56 +10:00
Ben Skeggs
a1de2b522f
drm/nouveau/disp/g94-: port OR DP training pattern control to nvkm_ior
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-06-16 14:04:56 +10:00
Ben Skeggs
a3e81117ce
drm/nouveau/disp/g94-: port OR DP link power control to nvkm_ior
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-06-16 14:04:55 +10:00
Ben Skeggs
7dc0bac4aa
drm/nouveau/disp/g94-: port OR DP link setup to nvkm_ior
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-06-16 14:04:55 +10:00
Ben Skeggs
333781045d
drm/nouveau/disp/g94-: port OR DP lane mapping to nvkm_ior
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-06-16 14:04:54 +10:00
Ben Skeggs
797b2fb81b
drm/nouveau/disp/g84-: port OR HDMI control to nvkm_ior
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-06-16 14:04:54 +10:00
Ben Skeggs
9c5753bc70
drm/nouveau/disp/nv50-: port OR power state control to nvkm_ior
...
Also removes the user-facing methods to these controls, as they're not
currently utilised by the DD anyway.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-06-16 14:04:53 +10:00
Ben Skeggs
29c0ca7389
drm/nouveau/disp/nv50-: fetch head/OR state at beginning of supervisor
...
This data will be used by essentially every part of the supervisor
handling process.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-06-16 14:04:53 +10:00
Ben Skeggs
b3c9c0226c
drm/nouveau/disp: fork off some new hw-specific implementations
...
Upcoming commits make supervisor handling share code between the NV50
and GF119 implementations. Because of this, and a few other cleanups,
we need to allow some additional customisation.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-06-16 14:04:49 +10:00