From: Oded Gabbay Date: Thu, 22 Jan 2015 10:48:33 +0000 (+0200) Subject: drm/radeon: Don't increment pipe_id in kgd_init_pipeline X-Git-Tag: fixes-v4.0-rc1~234^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a8888a3119eb5b67f6e90605be9ed2e04807126;p=pandora-kernel.git drm/radeon: Don't increment pipe_id in kgd_init_pipeline This patch fixes the behavior of kgd_init_pipeline in that this function shouldn't automatically increase the pipe_id argument by 1 right at the start of the function. This is because the first_pipe value might not be always 1, and because a proper interface function should not hide this info inside its implementation. In other words, the calling function should provide the real pipe_id and not count on kgd_init_pipeline to "fix" it. Signed-off-by: Oded Gabbay Reviewed-by: Alex Deucher Reviewed-by: Jammy Zhou --- Reading git-diff-tree failed