diff options
author | Ville Syrjälä <[email protected]> | 2017-03-21 20:12:14 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2017-03-22 19:37:17 +0200 |
commit | 568c5e453666fd8e0a8b11b440291f59e4da28c8 (patch) | |
tree | 4f27e5e04429a36fe56f27f51e4d4a196c3b7b00 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | eea54ed46edd42cf703be752d21731567142aa28 (diff) |
drm: Share the code to compute color plane dimesions
framebuffer_check() has some hand rolled code to compute the color plane
dimensions based on the subsampled information. Let's share the code
between framebuffer_check() and drm_framebuffer_plane_{width,height}().
Cc: Ben Widawsky <[email protected]>
Cc: Jason Ekstrand <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Ben Widawsky <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions