]> 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)
commit13766660befefacc82b951c9b9d619a92c1b55f1
treed3b512631a853195b1876349994f221b77336a8f
parent9fe699c8bf729819d6fc9712869d44aca83c3bfc
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