Rob Clark 675c8328db drm/fb: small cleanup
Flip conditional to reduce indentation level of rest of fxn, and use
min/max to make the code clearer.

v2: surface_width -> surface_height typo

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-03-11 22:09:39 +01:00
..
2015-03-09 19:58:30 +10:00
2015-03-10 09:59:34 +01:00
2015-03-09 19:58:30 +10:00
2014-11-20 11:30:37 +10:00
2015-02-05 16:21:19 +01:00
2015-03-09 19:58:30 +10:00
2014-12-16 08:56:55 +01:00
2015-01-05 13:54:38 +01:00
2015-03-11 22:09:39 +01:00
2014-12-16 18:44:34 +01:00
2014-12-16 18:44:34 +01:00
2015-03-10 09:59:34 +01:00