aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorAdam Ford <[email protected]>2024-06-01 09:41:02 -0500
committerRobert Foss <[email protected]>2024-06-10 16:30:56 +0200
commit9a8ac1ec9efddce525c94822028fb6140c523be0 (patch)
tree8bb9a6dbd1ea05662d95f8eef6998956fb2ccbf9 /drivers/fpga/fpga-region.c
parent78c4c0011bb577a29906d8ca135795af2293c49e (diff)
drm/bridge: samsung-dsim: Fix porch calcalcuation rounding
The VFP, HBP, and HSA are divided between the available lanes if there is more than one lane. For certain timings and lane configurations, the HFP may not be evenly divisible. If the HFP is rounded down, it ends up being too small which can cause some monitors to not sync properly. In these instances, adjust htotal and hsync to round the HFP up, and recalculate the htotal. This allows 720P-60 to operation on an i.MX8MP with a four-lane configuration. Tested-by: Frieder Schrempf <[email protected]> # Kontron BL i.MX8MM with HDMI monitor Signed-off-by: Adam Ford <[email protected]> Signed-off-by: Robert Foss <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions