diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-04-10 14:58:03 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-04-12 15:14:10 -0400 |
commit | e3aef17286850a77f11a6dac28d972f65cde2235 (patch) | |
tree | b8ecd91b847acd15a17a6642a4730b3217e7282d /drivers/gpu/drm/i915/i915_gem_gtt.c | |
parent | 0136db586c028f71e7cc21cc183064ff0d5919c8 (diff) |
drm/i915: make DP configuration vars less confusing in ironlake_crtc_mode_se
Both PCH and CPU eDP are DP, so set the is_dp flag to true. Add
is_cpu_edp and is_pch_edp bools to make checking for each less verbose
(rather than has_edp_encoder && !intel_encoder_is_pch_edp() sprinkled
everywhere). And rename the "has_edp_encoder" variable to just
"edp_encoder".
With the above variables cleaned up, the rest of the code becomes a bit
more readable and clear.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.c')
0 files changed, 0 insertions, 0 deletions