diff options
| author | Maxime Ripard <[email protected]> | 2019-05-16 10:31:46 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2019-05-20 11:32:20 +0000 |
| commit | 45babef01f92f1c3ab3012dfb7e98ae51f1ebeab (patch) | |
| tree | b116341f32566579f49903ef31fb02aabafc6109 /drivers/gpu/drm/lima/lima_sched.c | |
| parent | drm/bridge: Remove duplicate header (diff) | |
| download | kernel-45babef01f92f1c3ab3012dfb7e98ae51f1ebeab.tar.gz kernel-45babef01f92f1c3ab3012dfb7e98ae51f1ebeab.zip | |
drm/rockchip: Change the scl_vop_cal_scl_fac to pass drm_format_info
The Rockchip VOP driver has a function, scl_vop_cal_scl_fac, that will
lookup the drm_format_info structure from the fourcc passed to it by its
caller.
However, its only caller already derefences the drm_format_info structure
it has access to to retrieve that fourcc. Change the prototype of that
function to pass the drm_format_info structure directly, removing the need
for an extra lookup.
Reviewed-by: Paul Kocialkowski <[email protected]>
Reviewed-by: Sean Paul <[email protected]>
Suggested-by: Philipp Zabel <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/27b0041c7977402df4a087c78d2849ffe51c9f1c.1558002671.git-series.maxime.ripard@bootlin.com
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions
