Message ID | alpine.DEB.2.00.1104100232210.22602@localhost6.localdomain6 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
[ Fixing your CC list. ] On Sun, Apr 10, 2011 at 9:35 AM, Robert P. J. Day <rpjday@crashcourse.ca> wrote: > when i built a new kernel based on the latest git tree, i once again > got the black screen of death on my gateway laptop with an integrated > intel graphics controller. > > and as i did not that long ago, i got around it by applying the > following tweak to the source tree before rebuilding: > > diff --git a/drivers/gpu/drm/i915/intel_opregion.c b/drivers/gpu/drm/i915/intel_opregion.c > index d2c7104..a1a5d03 100644 > --- a/drivers/gpu/drm/i915/intel_opregion.c > +++ b/drivers/gpu/drm/i915/intel_opregion.c > @@ -152,6 +152,8 @@ static u32 asle_set_backlight(struct drm_device > *dev, u32 bclp) > struct opregion_asle *asle = dev_priv->opregion.asle; > u32 max; > > +return ASLE_BACKLIGHT_FAILED; // rday > + > if (!(bclp & ASLE_BCLP_VALID)) > return ASLE_BACKLIGHT_FAILED; > > > so if this issue was resolved, it seems to have regressed. > > rday > > -- > > ======================================================================== > Robert P. J. Day Ottawa, Ontario, CANADA > http://crashcourse.ca > > Twitter: http://twitter.com/rpjday > LinkedIn: http://ca.linkedin.com/in/rpjday > ======================================================================== > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel >
diff --git a/drivers/gpu/drm/i915/intel_opregion.c b/drivers/gpu/drm/i915/intel_opregion.c index d2c7104..a1a5d03 100644 --- a/drivers/gpu/drm/i915/intel_opregion.c +++ b/drivers/gpu/drm/i915/intel_opregion.c @@ -152,6 +152,8 @@ static u32 asle_set_backlight(struct drm_device *dev, u32 bclp) struct opregion_asle *asle = dev_priv->opregion.asle; u32 max; +return ASLE_BACKLIGHT_FAILED; // rday + if (!(bclp & ASLE_BCLP_VALID)) return ASLE_BACKLIGHT_FAILED;