summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Widawsky <benjamin.widawsky@intel.com>2013-11-07 21:40:50 -0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-14 09:33:11 +0100
commiteb0d4b75d506050cb369df467b93b92360f5acaf (patch)
tree83b7dea19a954a8121506be1565f831df25a397c /drivers/gpu
parent230f955f73074ec5b1b4389f3f26152eebf54404 (diff)
downloadop-kernel-dev-eb0d4b75d506050cb369df467b93b92360f5acaf.zip
op-kernel-dev-eb0d4b75d506050cb369df467b93b92360f5acaf.tar.gz
drm/i915/bdw: Add comment about gen8 HWS PGA
This confused me some many times that I think it is appropriate to add a small comment to instruct the reader of the code that it is indeed doing what it is supposed to do. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index b620337..c2f09d45 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -965,6 +965,7 @@ void intel_ring_setup_status_page(struct intel_ring_buffer *ring)
} else if (IS_GEN6(ring->dev)) {
mmio = RING_HWS_PGA_GEN6(ring->mmio_base);
} else {
+ /* XXX: gen8 returns to sanity */
mmio = RING_HWS_PGA(ring->mmio_base);
}
OpenPOWER on IntegriCloud