Skip to content

Commit

Permalink
intel/display: report no inuse mode on disabled connector
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ab authored and chelmuth committed Dec 12, 2024
1 parent 7fcfa4e commit 3f2a867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repos/pc/src/driver/framebuffer/intel/pc/lx_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ void lx_emul_i915_iterate_modes(void * lx_data, void * genode_data)
.height_mm = mode->height_mm,
.preferred = mode->type & (DRM_MODE_TYPE_PREFERRED |
DRM_MODE_TYPE_DEFAULT),
.inuse = !quirk_inuse && state->mode_id == mode_id,
.inuse = !quirk_inuse && state->mode_id == mode_id && state->enabled,
.mirror = state->mirrored,
.hz = drm_mode_vrefresh(mode),
.id = mode_id,
Expand Down

0 comments on commit 3f2a867

Please sign in to comment.