[PATCH 3/4] drm: Simplify return value of drm_get_last_vbltimestamp

2014-09-11 Thread Daniel Vetter
On Thu, Sep 11, 2014 at 1:28 PM, Mario Kleiner wrote: > On 09/10/2014 05:36 PM, Daniel Vetter wrote: >> >> Imo u32 hints at a register value, but in reality all callers only >> care whether the sampled timestamp is precise or not. So give them >> just a bool. >> >> Also move the declaration out

[PATCH 3/4] drm: Simplify return value of drm_get_last_vbltimestamp

2014-09-11 Thread Mario Kleiner
On 09/10/2014 05:36 PM, Daniel Vetter wrote: > Imo u32 hints at a register value, but in reality all callers only > care whether the sampled timestamp is precise or not. So give them > just a bool. > > Also move the declaration out of drmP.h, it's only used in drm_irq.c. All good. Maybe then also

[PATCH 3/4] drm: Simplify return value of drm_get_last_vbltimestamp

2014-09-10 Thread Daniel Vetter
Imo u32 hints at a register value, but in reality all callers only care whether the sampled timestamp is precise or not. So give them just a bool. Also move the declaration out of drmP.h, it's only used in drm_irq.c. Cc: Mario Kleiner Cc: Ville Syrj?l? Signed-off-by: Daniel Vetter ---