projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6801c18
)
drm/i915: backlight combination mode bit is gen4 only
author
Jani Nikula
<jani.nikula@intel.com>
Tue, 24 Sep 2013 13:44:39 +0000
(16:44 +0300)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:16 +0000
(07:45 +0200)
Not valid for later non-PCH split platforms such as VLV.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_panel.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_panel.c
b/drivers/gpu/drm/i915/intel_panel.c
index 3bc89a6bc3eee326ed44e4313ec51c5a5f85a7af..8f025c694733656a0346a820a709fce25d586921 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_panel.c
+++ b/
drivers/gpu/drm/i915/intel_panel.c
@@
-329,7
+329,7
@@
static int is_backlight_combination_mode(struct drm_device *dev)
{
struct drm_i915_private *dev_priv = dev->dev_private;
- if (I
NTEL_INFO(dev)->gen >= 4
)
+ if (I
S_GEN4(dev)
)
return I915_READ(BLC_PWM_CTL2) & BLM_COMBINATION_MODE;
if (IS_GEN2(dev))