projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8866ef
)
drm/i915/tv: De-magic device check
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 24 Apr 2014 21:54:41 +0000
(23:54 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 5 May 2014 08:56:57 +0000
(10:56 +0200)
We only support TV-out on gen3/4 mobile platforms, and i915gm is the
only one that matches.
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_tv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_tv.c
b/drivers/gpu/drm/i915/intel_tv.c
index a6acaeec7d69e250241346d7695881fb55b0fa76..3fd1ab376883f40697274c200c42c4d0581fbd9d 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_tv.c
+++ b/
drivers/gpu/drm/i915/intel_tv.c
@@
-1090,7
+1090,7
@@
static void intel_tv_mode_set(struct intel_encoder *encoder)
tv_mode->dda3_inc << TV_SCDDA3_INC_SHIFT;
/* Enable two fixes for the chips that need them. */
- if (
dev->pdev->device < 0x2772
)
+ if (
IS_I915GM(dev)
)
tv_ctl |= TV_ENC_C0_FIX | TV_ENC_SDP_FIX;
set_tv_mode_timings(dev_priv, tv_mode, burst_ena);