mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 15:49:42 -04:00
drm/amd/display: Add kernel-doc to some hubp functions
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Acked-by: Stylon Wang <stylon.wang@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
7969b6ecb3
commit
568bb205d2
@@ -1226,6 +1226,14 @@ void hubp1_cursor_set_position(
|
||||
/* TODO Handle surface pixel formats other than 4:4:4 */
|
||||
}
|
||||
|
||||
/**
|
||||
* hubp1_clk_cntl - Disable or enable clocks for DCHUBP
|
||||
*
|
||||
* @hubp: hubp struct reference.
|
||||
* @enable: Set true for enabling gate clock.
|
||||
*
|
||||
* When enabling/disabling DCHUBP clock, we affect dcfclk/dppclk.
|
||||
*/
|
||||
void hubp1_clk_cntl(struct hubp *hubp, bool enable)
|
||||
{
|
||||
struct dcn10_hubp *hubp1 = TO_DCN10_HUBP(hubp);
|
||||
@@ -1257,6 +1265,11 @@ void hubp1_soft_reset(struct hubp *hubp, bool reset)
|
||||
REG_UPDATE(DCHUBP_CNTL, HUBP_DISABLE, reset ? 1 : 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* hubp1_set_flip_int - Enable surface flip interrupt
|
||||
*
|
||||
* @hubp: hubp struct reference.
|
||||
*/
|
||||
void hubp1_set_flip_int(struct hubp *hubp)
|
||||
{
|
||||
struct dcn10_hubp *hubp1 = TO_DCN10_HUBP(hubp);
|
||||
|
||||
Reference in New Issue
Block a user