drm/amd/display: pg cntl update based on previous asic.[why]switch to well tested sequence.Reviewed-by: Leo Chen <leo.chen@amd.com>Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>Signed-off-
drm/amd/display: pg cntl update based on previous asic.[why]switch to well tested sequence.Reviewed-by: Leo Chen <leo.chen@amd.com>Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>Signed-off-by: Chuanyu Tseng <chuanyu.tseng@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
drm/amd/display: Enable dcn42 DCAdd support for DCN 4.2 in Display CoreSigned-off-by: Roman Li <Roman.Li@amd.com>Acked-by: Harry Wentland <harry.wentland@amd.com>Signed-off-by: Alex Deucher <al
drm/amd/display: Enable dcn42 DCAdd support for DCN 4.2 in Display CoreSigned-off-by: Roman Li <Roman.Li@amd.com>Acked-by: Harry Wentland <harry.wentland@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Add dcn42 DC resourcesDisplay Core resources for DCN 4.2:- CLK_MGR- DCCG- DIO- DPP- GPIO- HPO- HUBBUB- HUBP- HWSS- IRQ- MMHUBBUB- MPC- OPTC- PGSigned-off-by: Roman
drm/amd/display: Add dcn42 DC resourcesDisplay Core resources for DCN 4.2:- CLK_MGR- DCCG- DIO- DPP- GPIO- HPO- HUBBUB- HUBP- HWSS- IRQ- MMHUBBUB- MPC- OPTC- PGSigned-off-by: Roman Li <Roman.Li@amd.com>Acked-by: Harry Wentland <harry.wentland@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentThis was done entirely with mindless brute force, using git grep -l '\<k[vmz]*alloc_objs*(.*, GFP_KERNEL)' | xargs
Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentThis was done entirely with mindless brute force, using git grep -l '\<k[vmz]*alloc_objs*(.*, GFP_KERNEL)' | xargs sed -i 's/\(alloc_objs*(.*\), GFP_KERNEL)/\1)/'to convert the new alloc_obj() users that had a simple GFP_KERNELargument to just drop that argument.Note that due to the extreme simplicity of the scripting, any slightlymore complex cases spread over multiple lines would not be triggered:they definitely exist, but this covers the vast bulk of the cases, andthe resulting diff is also then easier to check automatically.For the same reason the 'flex' versions will be done as a separateconversion.Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
treewide: Replace kmalloc with kmalloc_obj for non-scalar typesThis is the result of running the Coccinelle script fromscripts/coccinelle/api/kmalloc_objs.cocci. The script is designed toavoid sc
treewide: Replace kmalloc with kmalloc_obj for non-scalar typesThis is the result of running the Coccinelle script fromscripts/coccinelle/api/kmalloc_objs.cocci. The script is designed toavoid scalar types (which need careful case-by-case checking), andinstead replace kmalloc-family calls that allocate struct or unionobject instances:Single allocations: kmalloc(sizeof(TYPE), ...)are replaced with: kmalloc_obj(TYPE, ...)Array allocations: kmalloc_array(COUNT, sizeof(TYPE), ...)are replaced with: kmalloc_objs(TYPE, COUNT, ...)Flex array allocations: kmalloc(struct_size(PTR, FAM, COUNT), ...)are replaced with: kmalloc_flex(*PTR, FAM, COUNT, ...)(where TYPE may also be *VAR)The resulting allocations no longer return "void *", instead returning"TYPE *".Signed-off-by: Kees Cook <kees@kernel.org>
drm/amd/display: Correct sequences and delays for DCN35 PG & RCG[why]The current PG & RCG programming in driver has some gaps and incorrectsequences.[how]Added delays after ungating clocks to
drm/amd/display: Correct sequences and delays for DCN35 PG & RCG[why]The current PG & RCG programming in driver has some gaps and incorrectsequences.[how]Added delays after ungating clocks to allow ramp up, increased pollingto allow more time for power up, and removed the incorrect sequences.Cc: Mario Limonciello <mario.limonciello@amd.com>Cc: Alex Deucher <alexander.deucher@amd.com>Reviewed-by: Charlene Liu <charlene.liu@amd.com>Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com>Signed-off-by: Wayne Lin <wayne.lin@amd.com>Tested-by: Dan Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>(cherry picked from commit 1bde5584e297921f45911ae874b0175dce5ed4b5)Cc: stable@vger.kernel.org
drm/amd/display: Refactor DCN3X into component folder[why]Move DCN3X files to unique component folder.[how]Create respective component folder in dc, move the DCN3X files intocorresponding new
drm/amd/display: Refactor DCN3X into component folder[why]Move DCN3X files to unique component folder.[how]Create respective component folder in dc, move the DCN3X files intocorresponding new folders and made appropriate changes for compilationin Makefiles.Reviewed-by: Martin Leung <martin.leung@amd.com>Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>Signed-off-by: Mounika Adhuri <moadhuri@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>