diff options
author | Keith Packard <keithp@keithp.com> | 2011-07-22 13:44:39 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-07-22 16:36:52 -0400 |
commit | f3234706a77bd6e1592ae71fb3268e04cb030dba (patch) | |
tree | 6426ac38abc9091cfd988b79904d8bdaac94cdde /drivers/video/cg3.c | |
parent | 842d452985300f4ec14c68cb86046e8a1a3b7251 (diff) |
drm/i915: Initialize RCS ring status page address in intel_render_ring_init_dri
Physically-addressed hardware status pages are initialized early in
the driver load process by i915_init_phys_hws. For UMS environments,
the ring structure is not initialized until the X server starts. At
that point, the entire ring structure is re-initialized with all new
values. Any values set in the ring structure (including
ring->status_page.page_addr) will be lost when the ring is
re-initialized.
This patch moves the initialization of the status_page.page_addr value
to intel_render_ring_init_dri.
Signed-off-by: Keith Packard <keithp@keithp.com>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/video/cg3.c')
0 files changed, 0 insertions, 0 deletions