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)
commit90b2df5743cd92f4525f662e8f12a536dfb58557
tree5d862c1d8d7bf2e6517a1ba1bfff256c8233d7b2
parentb7ced38916a95a0c66c3e3fc7af3ba2cf0f874af
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