[Intel-gfx] [PATCH 17/21] drm/i915: Create helper functions to determine eDP power state

2011-09-30 Thread Daniel Vetter
On Thu, Sep 29, 2011 at 06:09:49PM -0700, Keith Packard wrote: > We need to check eDP VDD force and panel on in several places, so > create some simple helper functions to avoid duplicating code. > > Signed-off-by: Keith Packard Ah, here's the code that kills my "... instead of re-reading PP_CON

Re: [Intel-gfx] [PATCH 17/21] drm/i915: Create helper functions to determine eDP power state

2011-09-30 Thread Daniel Vetter
On Thu, Sep 29, 2011 at 06:09:49PM -0700, Keith Packard wrote: > We need to check eDP VDD force and panel on in several places, so > create some simple helper functions to avoid duplicating code. > > Signed-off-by: Keith Packard Ah, here's the code that kills my "... instead of re-reading PP_CON

[PATCH 17/21] drm/i915: Create helper functions to determine eDP power state

2011-09-29 Thread Keith Packard
We need to check eDP VDD force and panel on in several places, so create some simple helper functions to avoid duplicating code. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_dp.c | 39 ++- 1 files changed, 26 insertions(+), 13 deletions(-) di

[PATCH 17/21] drm/i915: Create helper functions to determine eDP power state

2011-09-29 Thread Keith Packard
We need to check eDP VDD force and panel on in several places, so create some simple helper functions to avoid duplicating code. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_dp.c | 39 ++- 1 files changed, 26 insertions(+), 13 deletions(-) di