Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1468469
| From | Meelis Roos <mroos@linux.ee> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: i865, drm_modeset_lock_all: BUG: unable to handle kernel NULL pointer dereference at 00000104 |
| Date | 2016-08-23 12:20 +0200 |
| Message-ID | <s9gYi-2wu-27@gated-at.bofh.it> (permalink) |
| References | <s9g2e-1UK-15@gated-at.bofh.it> <s9g2e-1UK-13@gated-at.bofh.it> <s9gYh-2wu-5@gated-at.bofh.it> <s9gYh-2wu-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> > > Looks like an incorrect call to drm_encoder_cleanup() from the error > > > path. If we hit the error path we have never called drm_encoder_init. > > > Please try: > > > > > > diff --git a/drivers/gpu/drm/i915/intel_dvo.c b/drivers/gpu/drm/i915/intel_dvo.c > > > index 47bdf9dad0d3..b9e5a63a7c9e 100644 > > > --- a/drivers/gpu/drm/i915/intel_dvo.c > > > +++ b/drivers/gpu/drm/i915/intel_dvo.c > > > @@ -554,7 +554,6 @@ void intel_dvo_init(struct drm_device *dev) > > > return; > > > } > > > > > > - drm_encoder_cleanup(&intel_encoder->base); > > > kfree(intel_dvo); > > > kfree(intel_connector); > > > } > > > > It works - the BUG is gone. > > > > Now I get just > > [drm:__intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun > > Other than the annoying underrun, is everything else as expected? i.e. > no connected outputs? Have we lost dvo detection? Yes, as expected - there is no monitor connected. -- Meelis Roos (mroos@linux.ee)
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: i865, drm_modeset_lock_all: BUG: unable to handle kernel NULL pointer dereference at 00000104 Chris Wilson <chris@chris-wilson.co.uk> - 2016-08-23 11:20 +0200
Re: i865, drm_modeset_lock_all: BUG: unable to handle kernel NULL pointer dereference at 00000104 Chris Wilson <chris@chris-wilson.co.uk> - 2016-08-23 12:20 +0200
Re: i865, drm_modeset_lock_all: BUG: unable to handle kernel NULL pointer dereference at 00000104 Meelis Roos <mroos@linux.ee> - 2016-08-23 12:20 +0200
Re: i865, drm_modeset_lock_all: BUG: unable to handle kernel NULL pointer dereference at 00000104 Meelis Roos <mroos@linux.ee> - 2016-08-23 12:40 +0200
csiph-web