diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-10 04:55:35 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-10 04:55:35 -0500 |
commit | eb84f976c88d72cbcbe756df38d1f19be3db77d6 (patch) | |
tree | db3ff3b5edc305a0352b69327b914ef3a92e05a5 /drivers/gpu/drm/i915 | |
parent | 69f627f56fac212c1e49cd0d285e3f8cd264dd0c (diff) | |
parent | cc7096fb6d1dfbdac5e7e2675c046fd40646cc66 (diff) |
Merge remote-tracking branch 'airlied/drm-next' into HEAD
Backmerge drm-next so that I can keep merging patches. Specifically I
want:
- atomic stuff, yay!
- eld parsing patch from Jani.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r-- | drivers/gpu/drm/i915/i915_cmd_parser.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/intel_lrc.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/intel_sdvo.c | 47 |
4 files changed, 4 insertions, 51 deletions
diff --git a/drivers/gpu/drm/i915/i915_cmd_parser.c b/drivers/gpu/drm/i915/i915_cmd_parser.c index ef38915075a1..809bb957b452 100644 --- a/drivers/gpu/drm/i915/i915_cmd_parser.c +++ b/drivers/gpu/drm/i915/i915_cmd_parser.c | |||
@@ -73,7 +73,7 @@ | |||
73 | * those commands required by the parser. This generally works because command | 73 | * those commands required by the parser. This generally works because command |
74 | * opcode ranges have standard command length encodings. So for commands that | 74 | * opcode ranges have standard command length encodings. So for commands that |
75 | * the parser does not need to check, it can easily skip them. This is | 75 | * the parser does not need to check, it can easily skip them. This is |
76 | * implementated via a per-ring length decoding vfunc. | 76 | * implemented via a per-ring length decoding vfunc. |
77 | * | 77 | * |
78 | * Unfortunately, there are a number of commands that do not follow the standard | 78 | * Unfortunately, there are a number of commands that do not follow the standard |
79 | * length encoding for their opcode range, primarily amongst the MI_* commands. | 79 | * length encoding for their opcode range, primarily amongst the MI_* commands. |
@@ -843,7 +843,7 @@ finish: | |||
843 | * @ring: the ring in question | 843 | * @ring: the ring in question |
844 | * | 844 | * |
845 | * Only certain platforms require software batch buffer command parsing, and | 845 | * Only certain platforms require software batch buffer command parsing, and |
846 | * only when enabled via module paramter. | 846 | * only when enabled via module parameter. |
847 | * | 847 | * |
848 | * Return: true if the ring requires software command parsing | 848 | * Return: true if the ring requires software command parsing |
849 | */ | 849 | */ |
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index b250d96ab7a1..d43fa0e627f8 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h | |||
@@ -672,7 +672,7 @@ enum punit_power_well { | |||
672 | * need to be accessed during AUX communication, | 672 | * need to be accessed during AUX communication, |
673 | * | 673 | * |
674 | * Generally the common lane corresponds to the pipe and | 674 | * Generally the common lane corresponds to the pipe and |
675 | * the spline (PCS/TX) correponds to the port. | 675 | * the spline (PCS/TX) corresponds to the port. |
676 | * | 676 | * |
677 | * For dual channel PHY (VLV/CHV): | 677 | * For dual channel PHY (VLV/CHV): |
678 | * | 678 | * |
diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c index 292beb0fa1dc..6025ac754c37 100644 --- a/drivers/gpu/drm/i915/intel_lrc.c +++ b/drivers/gpu/drm/i915/intel_lrc.c | |||
@@ -1681,7 +1681,7 @@ static int lrc_setup_hardware_status_page(struct intel_engine_cs *ring, | |||
1681 | * the creation is a deferred call: it's better to make sure first that we need to use | 1681 | * the creation is a deferred call: it's better to make sure first that we need to use |
1682 | * a given ring with the context. | 1682 | * a given ring with the context. |
1683 | * | 1683 | * |
1684 | * Return: non-zero on eror. | 1684 | * Return: non-zero on error. |
1685 | */ | 1685 | */ |
1686 | int intel_lr_context_deferred_create(struct intel_context *ctx, | 1686 | int intel_lr_context_deferred_create(struct intel_context *ctx, |
1687 | struct intel_engine_cs *ring) | 1687 | struct intel_engine_cs *ring) |
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c index 9350edd6728d..6d7a277458b5 100644 --- a/drivers/gpu/drm/i915/intel_sdvo.c +++ b/drivers/gpu/drm/i915/intel_sdvo.c | |||
@@ -1991,57 +1991,10 @@ static int intel_sdvo_get_modes(struct drm_connector *connector) | |||
1991 | return !list_empty(&connector->probed_modes); | 1991 | return !list_empty(&connector->probed_modes); |
1992 | } | 1992 | } |
1993 | 1993 | ||
1994 | static void | ||
1995 | intel_sdvo_destroy_enhance_property(struct drm_connector *connector) | ||
1996 | { | ||
1997 | struct intel_sdvo_connector *intel_sdvo_connector = to_intel_sdvo_connector(connector); | ||
1998 | struct drm_device *dev = connector->dev; | ||
1999 | |||
2000 | if (intel_sdvo_connector->left) | ||
2001 | drm_property_destroy(dev, intel_sdvo_connector->left); | ||
2002 | if (intel_sdvo_connector->right) | ||
2003 | drm_property_destroy(dev, intel_sdvo_connector->right); | ||
2004 | if (intel_sdvo_connector->top) | ||
2005 | drm_property_destroy(dev, intel_sdvo_connector->top); | ||
2006 | if (intel_sdvo_connector->bottom) | ||
2007 | drm_property_destroy(dev, intel_sdvo_connector->bottom); | ||
2008 | if (intel_sdvo_connector->hpos) | ||
2009 | drm_property_destroy(dev, intel_sdvo_connector->hpos); | ||
2010 | if (intel_sdvo_connector->vpos) | ||
2011 | drm_property_destroy(dev, intel_sdvo_connector->vpos); | ||
2012 | if (intel_sdvo_connector->saturation) | ||
2013 | drm_property_destroy(dev, intel_sdvo_connector->saturation); | ||
2014 | if (intel_sdvo_connector->contrast) | ||
2015 | drm_property_destroy(dev, intel_sdvo_connector->contrast); | ||
2016 | if (intel_sdvo_connector->hue) | ||
2017 | drm_property_destroy(dev, intel_sdvo_connector->hue); | ||
2018 | if (intel_sdvo_connector->sharpness) | ||
2019 | drm_property_destroy(dev, intel_sdvo_connector->sharpness); | ||
2020 | if (intel_sdvo_connector->flicker_filter) | ||
2021 | drm_property_destroy(dev, intel_sdvo_connector->flicker_filter); | ||
2022 | if (intel_sdvo_connector->flicker_filter_2d) | ||
2023 | drm_property_destroy(dev, intel_sdvo_connector->flicker_filter_2d); | ||
2024 | if (intel_sdvo_connector->flicker_filter_adaptive) | ||
2025 | drm_property_destroy(dev, intel_sdvo_connector->flicker_filter_adaptive); | ||
2026 | if (intel_sdvo_connector->tv_luma_filter) | ||
2027 | drm_property_destroy(dev, intel_sdvo_connector->tv_luma_filter); | ||
2028 | if (intel_sdvo_connector->tv_chroma_filter) | ||
2029 | drm_property_destroy(dev, intel_sdvo_connector->tv_chroma_filter); | ||
2030 | if (intel_sdvo_connector->dot_crawl) | ||
2031 | drm_property_destroy(dev, intel_sdvo_connector->dot_crawl); | ||
2032 | if (intel_sdvo_connector->brightness) | ||
2033 | drm_property_destroy(dev, intel_sdvo_connector->brightness); | ||
2034 | } | ||
2035 | |||
2036 | static void intel_sdvo_destroy(struct drm_connector *connector) | 1994 | static void intel_sdvo_destroy(struct drm_connector *connector) |
2037 | { | 1995 | { |
2038 | struct intel_sdvo_connector *intel_sdvo_connector = to_intel_sdvo_connector(connector); | 1996 | struct intel_sdvo_connector *intel_sdvo_connector = to_intel_sdvo_connector(connector); |
2039 | 1997 | ||
2040 | if (intel_sdvo_connector->tv_format) | ||
2041 | drm_property_destroy(connector->dev, | ||
2042 | intel_sdvo_connector->tv_format); | ||
2043 | |||
2044 | intel_sdvo_destroy_enhance_property(connector); | ||
2045 | drm_connector_cleanup(connector); | 1998 | drm_connector_cleanup(connector); |
2046 | kfree(intel_sdvo_connector); | 1999 | kfree(intel_sdvo_connector); |
2047 | } | 2000 | } |