diff options
author | Damien Lespiau <[email protected]> | 2013-09-25 16:45:30 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2013-10-01 07:45:36 +0200 |
commit | c11e928360777be8eaf5023032e9b6c62eb2c43e (patch) | |
tree | 3723d7e0cbc7e252314be4fe8e29ef67fd31b03f /lib/test-string_helpers.c | |
parent | 448cce25f408be4c933f88ed8962455a0c16d0f8 (diff) |
drm: Factor out common CRTC viewport checking code
Both setcrtc and page_flip are checking that the framebuffer is big
enough for the defined crtc viewport (x, y, hdisplay, vdisplay). Factor
that code out in a single function.
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Damien Lespiau <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions