From: Ilija Hadzic Date: Wed, 2 Jan 2013 23:27:43 +0000 (-0500) Subject: drm/radeon: refactor vline packet parsing function X-Git-Tag: v3.9-rc1~83^2~31^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40592a17b8747903be95338f461573916a71d739;p=pandora-kernel.git 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 Reviewed-by: Marek Olšák Signed-off-by: Alex Deucher --- Reading git-diff-tree failed