History

drm/i915/tv: De-magic device check

We only support TV-out on gen3/4 mobile platforms, and i915gm is the only one that matches.

Daniel Vetter committed 12 years ago

Commit 5da92ee1 parent b8866ef1 file · +1 −1Browse files

Unified · Split

drivers/gpu/drm/i915/intel_tv.c+1−1
@@ -1090,7 +1090,7 @@ static void intel_tv_mode_set(struct intel_encoder *encoder) · 1089 unmodified lines
1090 tv_mode->dda3_inc << TV_SCDDA3_INC_SHIFT;1090 tv_mode->dda3_inc << TV_SCDDA3_INC_SHIFT;
1091 1091
1092 /* Enable two fixes for the chips that need them. */1092 /* Enable two fixes for the chips that need them. */
1093 if (dev->pdev->device < 0x2772)1093 if (IS_I915GM(dev))
1094 tv_ctl |= TV_ENC_C0_FIX | TV_ENC_SDP_FIX;1094 tv_ctl |= TV_ENC_C0_FIX | TV_ENC_SDP_FIX;
1095 1095
1096 set_tv_mode_timings(dev_priv, tv_mode, burst_ena);1096 set_tv_mode_timings(dev_priv, tv_mode, burst_ena);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t