Skip to content

Commit 6c261e9

Browse files
6by9popcornmix
authored andcommitted
drm/vc4: Do not reset tv mode as this is already handled by framework
In vc4_vec_connector_reset, the tv mode is already reset to the property default by drm_atomic_helper_connector_tv_reset, so there is no need for a local fixup to potentially some other default. Fixes: 96922af ("drm/vc4: Allow setting the TV norm via module parameter") Signed-off-by: Dave Stevenson <[email protected]>
1 parent 9edc62c commit 6c261e9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/gpu/drm/vc4/vc4_vec.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,10 +404,6 @@ static void vc4_vec_connector_reset(struct drm_connector *connector)
404404
{
405405
drm_atomic_helper_connector_reset(connector);
406406
drm_atomic_helper_connector_tv_reset(connector);
407-
408-
/* preserve TV standard */
409-
if (connector->state)
410-
connector->state->tv.mode = vc4_vec_get_default_mode(connector);
411407
}
412408

413409
static int

0 commit comments

Comments
 (0)