diff options
| author | Ville Syrjälä <[email protected]> | 2013-04-24 18:52:34 +0300 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2013-04-30 22:19:08 +0200 |
| commit | 3512f976d252bd5d07d04e9e157f0cd210c959a0 (patch) | |
| tree | 5541eb3fee53099e1ea416c959cbe1890ba93aa2 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5a80c45c5297a025c2615624042ea8b6840a5376 (diff) | |
drm: Add struct drm_rect and assorted utility functions
struct drm_rect represents a simple rectangle. The utility
functions are there to help driver writers.
v2: Moved the region stuff into its own file, made the smaller funcs
static inline, used 64bit maths in the scaled clipping function to
avoid overflows (instead it will saturate to INT_MIN or INT_MAX).
v3: Renamed drm_region to drm_rect, drm_region_clip to
drm_rect_intersect, and drm_region_subsample to drm_rect_downscale.
v4: Renamed some function parameters, improve kernel-doc comments a bit,
and actually generate documentation for drm_rect.[ch].
v5: s/RETUTRNS/RETURNS/
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions