]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Set default state margin at reset
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 19 Jun 2019 10:17:53 +0000 (12:17 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 19 Jun 2019 10:17:53 +0000 (12:17 +0200)
commit4f947ab68ae0aca1b7bb662daac6badd622b3eef
tree5d862c1d8d7bf2e6517a1ba1bfff256c8233d7b2
parent791c82b155398a52f941c88d0b3275161a76734b
drm/vc4: hdmi: Set default state margin at reset

Now that the TV margins are properly parsed and filled into
drm_cmdline_mode, we just need to initialise the first state at reset to
get those values and start using them.

Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/44e24172e300be6a41578517021ef6a6e90ed682.1560783090.git-series.maxime.ripard@bootlin.com
drivers/gpu/drm/vc4/vc4_hdmi.c