summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_fb_helper.c
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@amd.com>2015-01-22 12:48:33 +0200
committerOded Gabbay <oded.gabbay@amd.com>2015-01-22 12:48:33 +0200
commit5a8888a3119eb5b67f6e90605be9ed2e04807126 (patch)
tree2085a49f208890874a925cf9e0c79ab9db88c640 /drivers/gpu/drm/drm_fb_helper.c
parentb8cbab042cd69f3918a51620986514681c6cbad0 (diff)
downloadtalos-obmc-linux-5a8888a3119eb5b67f6e90605be9ed2e04807126.tar.gz
talos-obmc-linux-5a8888a3119eb5b67f6e90605be9ed2e04807126.zip
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 <oded.gabbay@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud