[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <d08817$1mllv9@azsmga001.ch.intel.com>
Date: Fri, 30 Sep 2011 11:31:45 +0100
From: Chris Wilson <chris@...is-wilson.co.uk>
To: Keith Packard <keithp@...thp.com>, Dave Airlie <airlied@...hat.com>
Cc: linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
intel-gfx@...ts.freedesktop.org, Keith Packard <keithp@...thp.com>
Subject: Re: [PATCH 18/21] drm/i915: Disable eDP VDD in a delayed work proc instead of synchronously
On Thu, 29 Sep 2011 18:09:50 -0700, Keith Packard <keithp@...thp.com> wrote:
> +static void ironlake_panel_vdd_work(struct work_struct *__work)
> +{
> + struct intel_dp *intel_dp = container_of(to_delayed_work(__work),
> + struct intel_dp, panel_vdd_work);
> + struct drm_device *dev = intel_dp->base.base.dev;
> +
> + mutex_lock(&dev->struct_mutex);
> + ironlake_panel_vdd_off_sync(intel_dp);
> + mutex_unlock(&dev->struct_mutex);
I think you want the dev->mode_config.mutex here.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists