r600g: consolidate the same piece of cut-n-paste code into a function.
authorDave Airlie <airlied@redhat.com>
Sun, 17 Apr 2011 07:11:36 +0000 (17:11 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 17 Apr 2011 07:11:36 +0000 (17:11 +1000)
commit70de2705b495c6f61437d24c6e5b9c411ebbacbf
treebd349afc52703198c3162f70047595caa610eca4
parentb5dfc38eea8a4b497574ca791452c11fa4163c8a
r600g: consolidate the same piece of cut-n-paste code into a function.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/winsys/r600/drm/evergreen_hw_context.c
src/gallium/winsys/r600/drm/r600_hw_context.c
src/gallium/winsys/r600/drm/r600_priv.h