]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add hubp_init entry to hubp vtable
authorCharlene Liu <charlene.liu@amd.com>
Thu, 11 Apr 2019 01:43:23 +0000 (21:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Apr 2019 19:59:06 +0000 (14:59 -0500)
commit7f58e8308057c69552c9fc32a618b7beab90ee65
treed3b512631a853195b1876349994f221b77336a8f
parent25bbcafa0b6a4b5a07fac24a33ef44c555708377
drm/amd/display: Add hubp_init entry to hubp vtable

Different HW will need to init HUBP differently. For now, add a vtable
entry, and hook a NO-OP for DCN1.

In addition, future HW will need to access the HUBPREQ_DEBUG register
for hubp_init. Add it to the reg list.

Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h