OpenCloudOS-Kernel/drivers/gpu/drm/i915
Paulo Zanoni d63885da96 drm/i915: reset intel_encoder->type when DP or HDMI is detected
When intel_hdmi_detect detects a monitor, set intel_encoder->type with
INTEL_OUTPUT_HDMI. Same for DP.

This should not break the current code because these variables never
change. This will be used after we create the DDI encoder because it
will have both DP and HDMI connectors.

We won't support eDP+HDMI on the same port, so if an encoder is eDP we
should expect it to always remain eDP and never change.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-11-11 23:51:07 +01:00
..
Makefile drm/i915: Support for ns2501-DVO 2012-07-25 18:23:48 +02:00
dvo.h Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2012-10-03 23:29:23 -07:00
dvo_ch7xxx.c drm/i915/dvo-ch7xxx: fix get_hw_state 2012-10-12 10:59:11 +02:00
dvo_ch7017.c drm/i915/dvo: implement get_hw_state 2012-09-06 07:58:52 +02:00
dvo_ivch.c drm/i915/dvo: implement get_hw_state 2012-09-06 07:58:52 +02:00
dvo_ns2501.c drm/i915/dvo: implement get_hw_state 2012-09-06 07:58:52 +02:00
dvo_sil164.c drm/i915/dvo: implement get_hw_state 2012-09-06 07:58:52 +02:00
dvo_tfp410.c drm/i915/dvo: implement get_hw_state 2012-09-06 07:58:52 +02:00
i915_debugfs.c Linux 3.7-rc2 2012-10-22 14:34:51 +02:00
i915_dma.c Linux 3.7-rc2 2012-10-22 14:34:51 +02:00
i915_drv.c drm/i915: implement WaIssueDummyWriteToWakeupFromRC6 2012-11-11 23:51:02 +01:00
i915_drv.h drm/i915: add ->display.modeset_global_resources callback 2012-11-11 23:50:59 +01:00
i915_gem.c Linux 3.7-rc2 2012-10-22 14:34:51 +02:00
i915_gem_context.c Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-next 2012-10-07 21:13:54 +10:00
i915_gem_debug.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
i915_gem_dmabuf.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2012-10-03 23:29:23 -07:00
i915_gem_evict.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2012-10-03 23:29:23 -07:00
i915_gem_execbuffer.c Linux 3.7-rc2 2012-10-22 14:34:51 +02:00
i915_gem_gtt.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2012-10-03 23:29:23 -07:00
i915_gem_stolen.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
i915_gem_tiling.c Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-next 2012-10-07 21:13:54 +10:00
i915_ioc32.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
i915_irq.c drm/i915: convert pipe timing definitions to transcoder 2012-10-26 10:24:49 +02:00
i915_reg.h drm/i915: implement WaDisableRenderCachePipelinedFlush 2012-11-11 23:51:03 +01:00
i915_suspend.c Linux 3.7-rc2 2012-10-22 14:34:51 +02:00
i915_sysfs.c drm/i915: Fix !CONFIG_PM sysfs for real this time 2012-09-20 14:23:11 +02:00
i915_trace.h drm/i915: Allow DRM_ROOT_ONLY|DRM_MASTER to submit privileged batchbuffers 2012-10-17 21:06:59 +02:00
i915_trace_points.c drm/i915: [sparse] trivial sparse fixes 2012-04-18 10:34:49 +02:00
intel_acpi.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
intel_bios.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
intel_bios.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
intel_crt.c drm/i915: Do not free the passed EDID in intel_connector_update_modes() 2012-10-22 19:33:46 +02:00
intel_ddi.c drm/i915: enable DDI eDP 2012-10-26 10:24:52 +02:00
intel_display.c drm/i915: Flush using only the correct base address register 2012-11-11 23:51:04 +01:00
intel_dp.c drm/i915: reset intel_encoder->type when DP or HDMI is detected 2012-11-11 23:51:07 +01:00
intel_drv.h drm/i915: create intel_digital_port and use it 2012-11-11 23:51:06 +01:00
intel_dvo.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2012-10-03 23:29:23 -07:00
intel_fb.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
intel_hdmi.c drm/i915: reset intel_encoder->type when DP or HDMI is detected 2012-11-11 23:51:07 +01:00
intel_i2c.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
intel_lvds.c drm/i915/lvds: move fitting mode from intel_lvds_connector to intel_panel 2012-10-26 20:50:57 +02:00
intel_modes.c drm/i915: Do not free the passed EDID in intel_connector_update_modes() 2012-10-22 19:33:46 +02:00
intel_opregion.c Linux 3.7-rc2 2012-10-22 14:34:51 +02:00
intel_overlay.c Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-fixes 2012-10-16 10:11:59 +10:00
intel_panel.c drm/i915: Move the fixed mode to intel_panel 2012-10-22 19:01:49 +02:00
intel_pm.c drm/i915: Fix HSW power well control state read 2012-11-11 23:51:04 +01:00
intel_ringbuffer.c Linux 3.7-rc2 2012-10-22 14:34:51 +02:00
intel_ringbuffer.h drm/i915: Allow DRM_ROOT_ONLY|DRM_MASTER to submit privileged batchbuffers 2012-10-17 21:06:59 +02:00
intel_sdvo.c drm/i915/sdvo: restore i2c adapter config on intel_sdvo_init() failures 2012-10-26 10:26:43 +02:00
intel_sdvo_regs.h drm/i915: properly handle interlaced bit for sdvo dtd conversion 2012-05-24 17:53:52 +02:00
intel_sprite.c drm/i915: adjust sprite base address 2012-11-11 23:51:02 +01:00
intel_tv.c drm/i915/tv: Use intel_flush_display_plane() to flush the primary plane 2012-11-11 23:51:00 +01:00