summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx
diff options
context:
space:
mode:
authorIlija Hadzic <ihadzic@research.bell-labs.com>2013-01-02 18:27:43 -0500
committerAlex Deucher <alexander.deucher@amd.com>2013-01-31 16:24:43 -0500
commit40592a17b8747903be95338f461573916a71d739 (patch)
tree0255123d601f1be2c11322ecabdcc368b81a1b16 /drivers/gpu/drm/vmwgfx
parent9ffb7a6dca4fd260db91c808efd4d5c56057600c (diff)
downloadtalos-op-linux-40592a17b8747903be95338f461573916a71d739.tar.gz
talos-op-linux-40592a17b8747903be95338f461573916a71d739.zip
drm/radeon: refactor vline packet parsing function
vline packet parsing function for R600 and Evergreen+ are the same, except that they use different registers. Factor out the algorithm into a common function that uses register table passed from ASIC-specific caller. This reduces ASIC-specific function to (trivial) setup of register table and call into the common function. Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com> Reviewed-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud