diff options
author | Dave Airlie <airlied@redhat.com> | 2014-04-05 02:14:21 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-04-05 02:14:21 -0400 |
commit | 9f97ba806a9cb8e828baca71eca8b684939053d8 (patch) | |
tree | ec036e36d1d2e64b6e67c4d5d24a5ecb6475aac0 /drivers/gpu/drm/i915/intel_overlay.c | |
parent | 82c68b6ccd54117a87cb2d9b91c2ee6e1280cf9d (diff) | |
parent | 10b6ee4a87811a110cb01eaca01eb04da6801baf (diff) |
Merge tag 'drm-intel-fixes-2014-04-04' of git://anongit.freedesktop.org/drm-intel into drm-next
Merge window -fixes pull request as usual. Well, I did sneak in Jani's
drm_i915_private_t typedef removal, need to have fun with a big sed job
too ;-)
Otherwise:
- hdmi interlaced fixes (Jesse&Ville)
- pipe error/underrun/crc tracking fixes, regression in late 3.14-rc (but
not cc: stable since only really relevant for igt runs)
- large cursor wm fixes (Chris)
- fix gpu turbo boost/throttle again, was getting stuck due to vlv rps
patches (Chris+Imre)
- fix runtime pm fallout (Paulo)
- bios framebuffer inherit fix (Chris)
- a few smaller things
* tag 'drm-intel-fixes-2014-04-04' of git://anongit.freedesktop.org/drm-intel: (196 commits)
Skip intel_crt_init for Dell XPS 8700
drm/i915: vlv: fix RPS interrupt mask setting
Revert "drm/i915/vlv: fixup DDR freq detection per Punit spec"
drm/i915: move power domain init earlier during system resume
drm/i915: Fix the computation of required fb size for pipe
drm/i915: don't get/put runtime PM at the debugfs forcewake file
drm/i915: fix WARNs when reading DDI state while suspended
drm/i915: don't read cursor registers on powered down pipes
drm/i915: get runtime PM at i915_display_info
drm/i915: don't read pp_ctrl_reg if we're suspended
drm/i915: get runtime PM at i915_reg_read_ioctl
drm/i915: don't schedule force_wake_timer at gen6_read
drm/i915: vlv: reserve the GT power context only once during driver init
drm/i915: prefer struct drm_i915_private to drm_i915_private_t
drm/i915/overlay: prefer struct drm_i915_private to drm_i915_private_t
drm/i915/ringbuffer: prefer struct drm_i915_private to drm_i915_private_t
drm/i915/display: prefer struct drm_i915_private to drm_i915_private_t
drm/i915/irq: prefer struct drm_i915_private to drm_i915_private_t
drm/i915/gem: prefer struct drm_i915_private to drm_i915_private_t
drm/i915/dma: prefer struct drm_i915_private to drm_i915_private_t
...
Diffstat (limited to 'drivers/gpu/drm/i915/intel_overlay.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_overlay.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/gpu/drm/i915/intel_overlay.c b/drivers/gpu/drm/i915/intel_overlay.c index 623cd328b196..d8adc9104dca 100644 --- a/drivers/gpu/drm/i915/intel_overlay.c +++ b/drivers/gpu/drm/i915/intel_overlay.c | |||
@@ -189,7 +189,7 @@ struct intel_overlay { | |||
189 | static struct overlay_registers __iomem * | 189 | static struct overlay_registers __iomem * |
190 | intel_overlay_map_regs(struct intel_overlay *overlay) | 190 | intel_overlay_map_regs(struct intel_overlay *overlay) |
191 | { | 191 | { |
192 | drm_i915_private_t *dev_priv = overlay->dev->dev_private; | 192 | struct drm_i915_private *dev_priv = overlay->dev->dev_private; |
193 | struct overlay_registers __iomem *regs; | 193 | struct overlay_registers __iomem *regs; |
194 | 194 | ||
195 | if (OVERLAY_NEEDS_PHYSICAL(overlay->dev)) | 195 | if (OVERLAY_NEEDS_PHYSICAL(overlay->dev)) |
@@ -212,7 +212,7 @@ static int intel_overlay_do_wait_request(struct intel_overlay *overlay, | |||
212 | void (*tail)(struct intel_overlay *)) | 212 | void (*tail)(struct intel_overlay *)) |
213 | { | 213 | { |
214 | struct drm_device *dev = overlay->dev; | 214 | struct drm_device *dev = overlay->dev; |
215 | drm_i915_private_t *dev_priv = dev->dev_private; | 215 | struct drm_i915_private *dev_priv = dev->dev_private; |
216 | struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; | 216 | struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; |
217 | int ret; | 217 | int ret; |
218 | 218 | ||
@@ -262,7 +262,7 @@ static int intel_overlay_continue(struct intel_overlay *overlay, | |||
262 | bool load_polyphase_filter) | 262 | bool load_polyphase_filter) |
263 | { | 263 | { |
264 | struct drm_device *dev = overlay->dev; | 264 | struct drm_device *dev = overlay->dev; |
265 | drm_i915_private_t *dev_priv = dev->dev_private; | 265 | struct drm_i915_private *dev_priv = dev->dev_private; |
266 | struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; | 266 | struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; |
267 | u32 flip_addr = overlay->flip_addr; | 267 | u32 flip_addr = overlay->flip_addr; |
268 | u32 tmp; | 268 | u32 tmp; |
@@ -362,7 +362,7 @@ static int intel_overlay_off(struct intel_overlay *overlay) | |||
362 | static int intel_overlay_recover_from_interrupt(struct intel_overlay *overlay) | 362 | static int intel_overlay_recover_from_interrupt(struct intel_overlay *overlay) |
363 | { | 363 | { |
364 | struct drm_device *dev = overlay->dev; | 364 | struct drm_device *dev = overlay->dev; |
365 | drm_i915_private_t *dev_priv = dev->dev_private; | 365 | struct drm_i915_private *dev_priv = dev->dev_private; |
366 | struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; | 366 | struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; |
367 | int ret; | 367 | int ret; |
368 | 368 | ||
@@ -388,7 +388,7 @@ static int intel_overlay_recover_from_interrupt(struct intel_overlay *overlay) | |||
388 | static int intel_overlay_release_old_vid(struct intel_overlay *overlay) | 388 | static int intel_overlay_release_old_vid(struct intel_overlay *overlay) |
389 | { | 389 | { |
390 | struct drm_device *dev = overlay->dev; | 390 | struct drm_device *dev = overlay->dev; |
391 | drm_i915_private_t *dev_priv = dev->dev_private; | 391 | struct drm_i915_private *dev_priv = dev->dev_private; |
392 | struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; | 392 | struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; |
393 | int ret; | 393 | int ret; |
394 | 394 | ||
@@ -834,7 +834,7 @@ static int check_overlay_possible_on_crtc(struct intel_overlay *overlay, | |||
834 | static void update_pfit_vscale_ratio(struct intel_overlay *overlay) | 834 | static void update_pfit_vscale_ratio(struct intel_overlay *overlay) |
835 | { | 835 | { |
836 | struct drm_device *dev = overlay->dev; | 836 | struct drm_device *dev = overlay->dev; |
837 | drm_i915_private_t *dev_priv = dev->dev_private; | 837 | struct drm_i915_private *dev_priv = dev->dev_private; |
838 | u32 pfit_control = I915_READ(PFIT_CONTROL); | 838 | u32 pfit_control = I915_READ(PFIT_CONTROL); |
839 | u32 ratio; | 839 | u32 ratio; |
840 | 840 | ||
@@ -1026,7 +1026,7 @@ int intel_overlay_put_image(struct drm_device *dev, void *data, | |||
1026 | struct drm_file *file_priv) | 1026 | struct drm_file *file_priv) |
1027 | { | 1027 | { |
1028 | struct drm_intel_overlay_put_image *put_image_rec = data; | 1028 | struct drm_intel_overlay_put_image *put_image_rec = data; |
1029 | drm_i915_private_t *dev_priv = dev->dev_private; | 1029 | struct drm_i915_private *dev_priv = dev->dev_private; |
1030 | struct intel_overlay *overlay; | 1030 | struct intel_overlay *overlay; |
1031 | struct drm_mode_object *drmmode_obj; | 1031 | struct drm_mode_object *drmmode_obj; |
1032 | struct intel_crtc *crtc; | 1032 | struct intel_crtc *crtc; |
@@ -1226,7 +1226,7 @@ int intel_overlay_attrs(struct drm_device *dev, void *data, | |||
1226 | struct drm_file *file_priv) | 1226 | struct drm_file *file_priv) |
1227 | { | 1227 | { |
1228 | struct drm_intel_overlay_attrs *attrs = data; | 1228 | struct drm_intel_overlay_attrs *attrs = data; |
1229 | drm_i915_private_t *dev_priv = dev->dev_private; | 1229 | struct drm_i915_private *dev_priv = dev->dev_private; |
1230 | struct intel_overlay *overlay; | 1230 | struct intel_overlay *overlay; |
1231 | struct overlay_registers __iomem *regs; | 1231 | struct overlay_registers __iomem *regs; |
1232 | int ret; | 1232 | int ret; |
@@ -1311,7 +1311,7 @@ out_unlock: | |||
1311 | 1311 | ||
1312 | void intel_setup_overlay(struct drm_device *dev) | 1312 | void intel_setup_overlay(struct drm_device *dev) |
1313 | { | 1313 | { |
1314 | drm_i915_private_t *dev_priv = dev->dev_private; | 1314 | struct drm_i915_private *dev_priv = dev->dev_private; |
1315 | struct intel_overlay *overlay; | 1315 | struct intel_overlay *overlay; |
1316 | struct drm_i915_gem_object *reg_bo; | 1316 | struct drm_i915_gem_object *reg_bo; |
1317 | struct overlay_registers __iomem *regs; | 1317 | struct overlay_registers __iomem *regs; |
@@ -1397,7 +1397,7 @@ out_free: | |||
1397 | 1397 | ||
1398 | void intel_cleanup_overlay(struct drm_device *dev) | 1398 | void intel_cleanup_overlay(struct drm_device *dev) |
1399 | { | 1399 | { |
1400 | drm_i915_private_t *dev_priv = dev->dev_private; | 1400 | struct drm_i915_private *dev_priv = dev->dev_private; |
1401 | 1401 | ||
1402 | if (!dev_priv->overlay) | 1402 | if (!dev_priv->overlay) |
1403 | return; | 1403 | return; |
@@ -1421,7 +1421,7 @@ struct intel_overlay_error_state { | |||
1421 | static struct overlay_registers __iomem * | 1421 | static struct overlay_registers __iomem * |
1422 | intel_overlay_map_regs_atomic(struct intel_overlay *overlay) | 1422 | intel_overlay_map_regs_atomic(struct intel_overlay *overlay) |
1423 | { | 1423 | { |
1424 | drm_i915_private_t *dev_priv = overlay->dev->dev_private; | 1424 | struct drm_i915_private *dev_priv = overlay->dev->dev_private; |
1425 | struct overlay_registers __iomem *regs; | 1425 | struct overlay_registers __iomem *regs; |
1426 | 1426 | ||
1427 | if (OVERLAY_NEEDS_PHYSICAL(overlay->dev)) | 1427 | if (OVERLAY_NEEDS_PHYSICAL(overlay->dev)) |
@@ -1447,7 +1447,7 @@ static void intel_overlay_unmap_regs_atomic(struct intel_overlay *overlay, | |||
1447 | struct intel_overlay_error_state * | 1447 | struct intel_overlay_error_state * |
1448 | intel_overlay_capture_error_state(struct drm_device *dev) | 1448 | intel_overlay_capture_error_state(struct drm_device *dev) |
1449 | { | 1449 | { |
1450 | drm_i915_private_t *dev_priv = dev->dev_private; | 1450 | struct drm_i915_private *dev_priv = dev->dev_private; |
1451 | struct intel_overlay *overlay = dev_priv->overlay; | 1451 | struct intel_overlay *overlay = dev_priv->overlay; |
1452 | struct intel_overlay_error_state *error; | 1452 | struct intel_overlay_error_state *error; |
1453 | struct overlay_registers __iomem *regs; | 1453 | struct overlay_registers __iomem *regs; |