Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: Enable vstateup hook for DCN401 to be reused

Add the hook to the DCN401 header file so that it can be reused in other
files

Reviewed-by: Leo Chen <leo.chen@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Charlene Liu and committed by
Alex Deucher
4a421335 6ce8d536

+3 -1
+1 -1
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c
··· 1772 1772 return dpm_level; 1773 1773 } 1774 1774 1775 - static unsigned int dcn401_get_vstartup_for_pipe(struct pipe_ctx *pipe_ctx) 1775 + unsigned int dcn401_get_vstartup_for_pipe(struct pipe_ctx *pipe_ctx) 1776 1776 { 1777 1777 return pipe_ctx->global_sync.dcn4x.vstartup_lines; 1778 1778 }
+2
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.h
··· 28 28 29 29 void dcn401_prepare_mcache_programming(struct dc *dc, struct dc_state *context); 30 30 31 + unsigned int dcn401_get_vstartup_for_pipe(struct pipe_ctx *pipe_ctx); 32 + 31 33 /* Following are definitions for run time init of reg offsets */ 32 34 33 35 /* HUBP */