diff options
| author | Laurent Pinchart <[email protected]> | 2020-07-27 05:06:52 +0300 |
|---|---|---|
| committer | Stefan Agner <[email protected]> | 2020-07-28 17:21:50 +0200 |
| commit | 51b777f2b11ea2eed4b6c5faf3884b4aeba0b82a (patch) | |
| tree | e6c9fb08486aa360086b85774736df97ef236e76 /tools/perf/scripts/python | |
| parent | d9ef0d31503254c672afe890641b86870a7ff7cb (diff) | |
drm: mxsfb: Merge mxsfb_set_pixel_fmt() and mxsfb_set_bus_fmt()
The mxsfb_set_pixel_fmt() and mxsfb_set_bus_fmt() functions both deal
with format configuration, are always called in a row from
mxsfb_crtc_mode_set_nofb(), and set fields from the LCDC_CTRL register.
This requires a read-modify-update cycle in mxsfb_set_bus_fmt(). Make
this more efficient by merging them together.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Stefan Agner <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Stefan Agner <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions