Brandon Syu
9190d4a263
drm/amd/display: fix mapping to non-allocated address
...
[Why]
There is an issue mapping non-allocated location of memory.
It would allocate gpio registers from an array out of bounds.
[How]
Patch correct numbers of bounds for using.
Tested-by: Daniel Wheeler <Daniel.Wheeler@amd.com >
Reviewed-by: Martin Leung <Martin.Leung@amd.com >
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Signed-off-by: Brandon Syu <Brandon.Syu@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-01-17 15:40:44 -05:00
Samson Tam
f69e98a91a
drm/amd/display: Fix comments
...
[Why & how]
Fix format and typo of comments.
Acked-by: Alan Liu <HaoPing.Liu@amd.com >
Signed-off-by: Samson Tam <Samson.Tam@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2022-06-14 21:38:40 -04:00
Alex Hung
79e03f29fc
drm/amd/display: remove redundant CONFIG_DRM_AMD_DC_DCN in gpio
...
[Why & How]
CONFIG_DRM_AMD_DC_DCN is used by pass the compilation failures, but DC
code should be OS-agnostic.
This patch fixes it by removing unnecessasry CONFIG_DRM_AMD_DC_DCN
in gpio directory.
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Acked-by: Stylon Wang <stylon.wang@amd.com >
Signed-off-by: Alex Hung <alex.hung@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2022-05-10 17:53:12 -04:00
Alex Deucher
68550cbc61
drm/amdgpu: move dpcs_3_0_0 headers from dcn to dpcs
...
To align with other headers.
Reviewed-by: Harry Wentland <harry.wentland@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2022-02-07 18:03:50 -05:00
Alex Deucher
20f2ffe504
drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3)
...
Avoids confusion in configurations.
v2: fix build when CONFIG_DRM_AMD_DC_DCN is disabled
v3: rebase on latest code
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com > (v1)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-11-04 17:11:37 -05:00
Martin Leung
c36f0ab0aa
drm/amd/display: adding ddc_gpio_vga_reg_list to ddc reg def'ns
...
why:
oem-related ddc read/write fails without these regs
how:
copy from hw_factory_dcn20.c
Signed-off-by: Martin Leung <martin.leung@amd.com >
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-10-26 13:33:38 -04:00
Randy Dunlap
2634682fdf
drm: amd/display: fix spelling of "function"
...
Fix spellos of "function" in drivers/gpu/drm/amd/display/.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org >
Cc: Harry Wentland <harry.wentland@amd.com >
Cc: Leo Li <sunpeng.li@amd.com >
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-09-15 17:52:42 -04:00
Bhawanpreet Lakha
666ed8bfd1
drm/amd/display: Add DCN3 GPIO
...
Add support to program GPIO HW block
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-07-01 01:59:15 -04:00