Message ID | 20240507033227.1879383-1-chris.chiu@canonical.com |
---|---|
Headers | show |
Series | Fix random HuC/GuC initialization failure of Intel i915 driver | expand |
Chris Chiu kirjoitti 7.5.2024 klo 6.32: > BugLink: https://bugs.launchpad.net/bugs/2061049 > > [Impact] > i915 error can sometimes be found in kernel message when booting the machine w/ power unplugged > kernel: i915 0000:00:02.0: [drm] ERROR GT1: GuC initialization failed -EIO > kernel: i915 0000:00:02.0: [drm] ERROR GT1: Enabling uc failed (-5) > kernel: i915 0000:00:02.0: [drm] ERROR GT1: Failed to initialize GPU, declaring it wedged! > The GPU won't work with this failure > > [Fix] > Backport the upatream fix for allowing slow HuC loading. > > [Test] > 1. Unplug the power of the laptop and make sure it's charged by battery > 2. Cold boot or Warm boot the machine and check the GuC init fail message. > 3. Go to settings - > about --> graphics to make sure the GPU information is correct every boot. > > [Where problems could occur] > Simply increase the loading time of HuC still get a working system. Should be low risk of regression. > > John Harrison (1): > drm/i915/huc: Allow for very slow HuC loading > > drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c | 10 ++-- > drivers/gpu/drm/i915/gt/uc/intel_huc.c | 64 ++++++++++++++++++++--- > 2 files changed, 63 insertions(+), 11 deletions(-) > Acked-by: Timo Aaltonen <timo.aaltonen@canonical.com> note that for oem-6.8 you should send it to gitea
On 5/7/24 05:32, Chris Chiu wrote: > BugLink: https://bugs.launchpad.net/bugs/2061049 > > [Impact] > i915 error can sometimes be found in kernel message when booting the machine w/ power unplugged > kernel: i915 0000:00:02.0: [drm] ERROR GT1: GuC initialization failed -EIO > kernel: i915 0000:00:02.0: [drm] ERROR GT1: Enabling uc failed (-5) > kernel: i915 0000:00:02.0: [drm] ERROR GT1: Failed to initialize GPU, declaring it wedged! > The GPU won't work with this failure > > [Fix] > Backport the upatream fix for allowing slow HuC loading. > > [Test] > 1. Unplug the power of the laptop and make sure it's charged by battery > 2. Cold boot or Warm boot the machine and check the GuC init fail message. > 3. Go to settings - > about --> graphics to make sure the GPU information is correct every boot. > > [Where problems could occur] > Simply increase the loading time of HuC still get a working system. Should be low risk of regression. > > John Harrison (1): > drm/i915/huc: Allow for very slow HuC loading > > drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c | 10 ++-- > drivers/gpu/drm/i915/gt/uc/intel_huc.c | 64 ++++++++++++++++++++--- > 2 files changed, 63 insertions(+), 11 deletions(-) > Acked-by: Tim Gardner <tim.gardner@canonical.com>
On 07/05/2024 05:32, Chris Chiu wrote: > BugLink: https://bugs.launchpad.net/bugs/2061049 > > [Impact] > i915 error can sometimes be found in kernel message when booting the machine w/ power unplugged > kernel: i915 0000:00:02.0: [drm] ERROR GT1: GuC initialization failed -EIO > kernel: i915 0000:00:02.0: [drm] ERROR GT1: Enabling uc failed (-5) > kernel: i915 0000:00:02.0: [drm] ERROR GT1: Failed to initialize GPU, declaring it wedged! > The GPU won't work with this failure > > [Fix] > Backport the upatream fix for allowing slow HuC loading. > > [Test] > 1. Unplug the power of the laptop and make sure it's charged by battery > 2. Cold boot or Warm boot the machine and check the GuC init fail message. > 3. Go to settings - > about --> graphics to make sure the GPU information is correct every boot. > > [Where problems could occur] > Simply increase the loading time of HuC still get a working system. Should be low risk of regression. > > John Harrison (1): > drm/i915/huc: Allow for very slow HuC loading > > drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c | 10 ++-- > drivers/gpu/drm/i915/gt/uc/intel_huc.c | 64 ++++++++++++++++++++--- > 2 files changed, 63 insertions(+), 11 deletions(-) > Applied to noble:linux master-next branch. Thanks!