[Intel-gfx] [Rebase][PATCH] drm/i915/bios: Workaround broken video BIOS in LG Gram 2021

2022-03-12 Thread H.J. Lu
and update intel_bios_is_valid_vbt to use FW size, instead of VBT size if the quirk is applied, in range_overflows_t for BDB size overflow check. This fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/4763 Signed-off-by: H.J. Lu --- drivers/gpu/drm/i915/display/intel_bios.c | 15

[Intel-gfx] [PATCH v2] drm/i915/bios: Workaround broken video BIOS in LG Gram 2021

2022-01-19 Thread H.J. Lu
, in range_overflows_t for BDB size overflow check. This fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/4763 Signed-off-by: H.J. Lu --- drivers/gpu/drm/i915/display/intel_bios.c | 15 --- drivers/gpu/drm/i915/display/intel_bios.h | 3 +- drivers/gpu/drm/i915/display

[Intel-gfx] [PATCH] drm/i915/bios: Workaround broken video BIOS in LG Gram 2021

2022-01-19 Thread H.J. Lu
, in range_overflows_t for BDB size overflow check. This fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/4763 Signed-off-by: H.J. Lu --- drivers/gpu/drm/i915/display/intel_bios.c | 14 --- drivers/gpu/drm/i915/display/intel_bios.h | 3 +- drivers/gpu/drm/i915/display

Re: [Intel-gfx] [PATCH] drm/i915/display: Go softly softly on initial modeset failure

2020-12-10 Thread H.J. Lu
t; > the system hangs with a livelock in cleaning up the failed commit. > > > > Reported-by: H.J. Lu > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=210619 > > Fixes: b3bf99daaee9 ("drm/i915/display: Defer initial modeset until after > > GGTT is initialised&

Re: [Intel-gfx] [PATCH] drm: Fix GETCONNECTOR regression

2017-06-20 Thread H.J. Lu
x that again. >> >> Fixes: 91eefc05f0ac ("drm: Tighten locking in drm_mode_getconnector") >> Cc: Sean Paul <seanp...@chromium.org> >> Cc: Daniel Vetter <daniel.vet...@intel.com> >> Cc: Jani Nikula <jani.nik...@linux.intel.com> >&

[Intel-gfx] [PATCH] drm: Restore GNOME monitors.xml support

2017-06-05 Thread H.J. Lu
14 00:08:10 2016 +0100 drm: Tighten locking in drm_mode_getconnector which makes ~/.config/monitors.xml not effective. This patch reorders drm_mode_getconnector and restores monitors.xml support. This may also fix: https://bugs.freedesktop.org/show_bug.cgi?id=100576 Signed-off-by: H