Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345638
b: refs/heads/master
c: 4f1ba0f
h: refs/heads/master
v: v3
  • Loading branch information
Mika Kuoppala authored and Daniel Vetter committed Nov 29, 2012
1 parent b3d4c61 commit a86817d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc37381cc8ae2c24b8ece33659e69a0605ca074c
refs/heads/master: 4f1ba0f83a6d4abd055cf75af43954b38df8dcaf
3 changes: 2 additions & 1 deletion trunk/drivers/gpu/drm/i915/i915_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ static int i915_set_status_page(struct drm_device *dev, void *data,
{
drm_i915_private_t *dev_priv = dev->dev_private;
drm_i915_hws_addr_t *hws = data;
struct intel_ring_buffer *ring = LP_RING(dev_priv);
struct intel_ring_buffer *ring;

if (drm_core_check_feature(dev, DRIVER_MODESET))
return -ENODEV;
Expand All @@ -1065,6 +1065,7 @@ static int i915_set_status_page(struct drm_device *dev, void *data,

DRM_DEBUG_DRIVER("set status page addr 0x%08x\n", (u32)hws->addr);

ring = LP_RING(dev_priv);
ring->status_page.gfx_addr = hws->addr & (0x1ffff<<12);

dev_priv->dri1.gfx_hws_cpu_addr =
Expand Down

0 comments on commit a86817d

Please sign in to comment.