[RFC PATCH] drm/nv50-nvd0: implement precise vblank timing support on nv50/nvc0.

2013-08-12 Thread Maarten Lankhorst
Not as thoroughly tested as I would like. Newer nvd0 and kepler are unsupported, as I don't know the registers yet. Information of the scanout position is based on Lucas Stach's original patch, with a teak to read vline twice, to prevent a race of hline with vline. Cc: Lucas Stach Cc: Mario

[RFC PATCH] drm/nv50-nvd0: implement precise vblank timing support on nv50/nvc0.

2013-08-12 Thread Maarten Lankhorst
Not as thoroughly tested as I would like. Newer nvd0 and kepler are unsupported, as I don't know the registers yet. Information of the scanout position is based on Lucas Stach's original patch, with a teak to read vline twice, to prevent a race of hline with vline. Cc: Lucas Stach