search for: vbia

Displaying 6 results from an estimated 6 matches for "vbia".

Did you mean: vbi
2011 Nov 24
1
[PATCH] nouveau: implement precise vblank timestamping
...splay.c @@ -578,3 +578,127 @@ nouveau_display_dumb_map_offset(struct drm_file *file_priv, return -ENOENT; } + +int +nouveau_get_scanoutpos(struct drm_device *dev, int crtc, int *vpos, int *hpos) +{ + struct drm_nouveau_private *dev_priv = dev->dev_private; + int vline, hline, ret = 0; + u32 vbias, hbias, reg, vbl_start, vbl_end; + struct drm_crtc *drmcrtc; + + if (crtc < 0 || crtc >= dev->num_crtcs) { + DRM_ERROR("Invalid crtc %d\n", crtc); + return -EINVAL; + } + + list_for_each_entry(drmcrtc, &dev->mode_config.crtc_list, head) { + if(nouveau_crtc(drmcrtc)-&gt...
2012 Feb 15
2
[Patches][nouveau/kms]: Precise Vblank and pageflip timestamping
Hi, these are two patches against the nouveau kms driver. The first patch makes sure that pageflip completion events get their vblank count and timestamp from the drm. The second patch from Lucas Stach, here included with his permission, makes sure that the timestamps of vblanks are calculated with high precision and robustness. Both patches together make sure that all timestamps returned by the
2012 Apr 25
2
[PATCH 1/2] drm/nouveau: Use drm_vblank_count_and_time() for pageflip completion events.
From: Mario Kleiner <mario.kleiner at tuebingen.mpg.de> Emit kms pageflip completion events with proper vblank count and timestamp for the vblank interval in which the pageflip completed. This makes the timestamps and counts consistent with what the OML_sync_control spec defines. v2 Lucas Stach: rebased on top of nouveau tree and resolved trivial conflict. Signed-off-by: Mario Kleiner
2012 Feb 16
5
[Patches][nouveau/kms]: Precise Vblank and pageflip timestamping v2
Just updated versions of the patches send by Mario Kleiner. This ones are rebased on top of the nouveau tree and updated according to the review feedback. Regards, Lucas
2013 Aug 12
0
[RFC PATCH] drm/nv50-nvd0: implement precise vblank timing support on nv50/nvc0.
...} } +u32 nv50_disp_get_vblank_count(struct nouveau_disp *disp, int head) +{ + if (head < 0 || head >= 2) + return 0; + + return nv_rd32(disp, 0x616340 + head * 0x800) >> 16; +} + +int nv50_disp_get_scanoutpos(struct nouveau_disp *disp, int head, int *vpos, int *hpos) +{ + u32 reg, vbias, hbias, vbl_start, vbl_end, hline, vline; + + if (head < 0 || head >= 2) + return -1; + + reg = nv_rd32(disp, 0x610ae8 + head * 4); + vbias = reg >> 16; + hbias = reg & 0xffff; + + vbl_start = nv_rd32(disp, 0x610af0 + head * 4) >> 16; + vbl_end = nv_rd32(disp, 0x610af8 + hea...
2011 Mar 14
2
Problemes with ControlPersist
...--- Version: GnuPG v1.4.11 (GNU/Linux) iQEUAwUBTX4xGp+OKpjRpO3lAQqVYQf4zdD83MsXVugIXz0swidhbWZvM5R5zVGt b/nwl0DF0EWnu3NN8zeiq6Z+Wr3kr6X8aQ6FWqZ5ajuiTDAo1IrbIzePayRc1936 MmKdzYov2u0nT/RXgedNWB8BsU786mW+GSGSpASwAjLLsghZXXLxkCWKWBvJVNi/ UHxjg5QBcvwt0I3amzj3OZtrACHF9TNUdaX4nwFEeO1cA/MuvHTXP4kqvkYDR3W1 vBiA+RY1g6MT4d+OpE53FkRyGxGMGOf/8G7EGy6azJIxvCtfNiAi9EYNNLOw0qqY 2zN2MN+w7uf3B2J9EIpPvZ/pBuBx8ZGKdNlg7RBhE3CvuWTjhgXQ =zB+a -----END PGP SIGNATURE-----