diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-11-28 10:30:02 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-12 10:03:41 -0500 |
commit | fd70d52acc7abef6402e21e3e11950773af3d769 (patch) | |
tree | bf71803a72f2253dab34b5fc910507c4327cab21 | |
parent | 159f98750e413f5d6e63d1131417c5310ea175fb (diff) |
drm/i915: Enable FBC for all mobile gen2 and gen3 platforms
All mobile gen2 and gen3 chipsets should have FBC1, and the code
should now handle them all. So just set has_fbc=true for all such
chipsets.
Note that fbc is still disabled by default for now.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 2137a33d5bb2..c2c9a93861ae 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c | |||
@@ -172,6 +172,7 @@ static const struct intel_device_info intel_i85x_info = { | |||
172 | .gen = 2, .is_i85x = 1, .is_mobile = 1, .num_pipes = 2, | 172 | .gen = 2, .is_i85x = 1, .is_mobile = 1, .num_pipes = 2, |
173 | .cursor_needs_physical = 1, | 173 | .cursor_needs_physical = 1, |
174 | .has_overlay = 1, .overlay_needs_physical = 1, | 174 | .has_overlay = 1, .overlay_needs_physical = 1, |
175 | .has_fbc = 1, | ||
175 | .ring_mask = RENDER_RING, | 176 | .ring_mask = RENDER_RING, |
176 | }; | 177 | }; |
177 | 178 | ||
@@ -191,6 +192,7 @@ static const struct intel_device_info intel_i915gm_info = { | |||
191 | .cursor_needs_physical = 1, | 192 | .cursor_needs_physical = 1, |
192 | .has_overlay = 1, .overlay_needs_physical = 1, | 193 | .has_overlay = 1, .overlay_needs_physical = 1, |
193 | .supports_tv = 1, | 194 | .supports_tv = 1, |
195 | .has_fbc = 1, | ||
194 | .ring_mask = RENDER_RING, | 196 | .ring_mask = RENDER_RING, |
195 | }; | 197 | }; |
196 | static const struct intel_device_info intel_i945g_info = { | 198 | static const struct intel_device_info intel_i945g_info = { |
@@ -203,6 +205,7 @@ static const struct intel_device_info intel_i945gm_info = { | |||
203 | .has_hotplug = 1, .cursor_needs_physical = 1, | 205 | .has_hotplug = 1, .cursor_needs_physical = 1, |
204 | .has_overlay = 1, .overlay_needs_physical = 1, | 206 | .has_overlay = 1, .overlay_needs_physical = 1, |
205 | .supports_tv = 1, | 207 | .supports_tv = 1, |
208 | .has_fbc = 1, | ||
206 | .ring_mask = RENDER_RING, | 209 | .ring_mask = RENDER_RING, |
207 | }; | 210 | }; |
208 | 211 | ||