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 cor
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 <[email protected]>Reviewed-by: Martin Leung <[email protected]>Acked-by: Rodrigo Siqueira <[email protected]>Signed-off-by: Brandon Syu <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
show more ...
drm/amd/display: Fix comments[Why & how]Fix format and typo of comments.Acked-by: Alan Liu <[email protected]>Signed-off-by: Samson Tam <[email protected]>Tested-by: Daniel Wheeler <daniel.
drm/amd/display: Fix comments[Why & how]Fix format and typo of comments.Acked-by: Alan Liu <[email protected]>Signed-off-by: Samson Tam <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm: amd/display: fix spelling of "function"Fix spellos of "function" in drivers/gpu/drm/amd/display/.Signed-off-by: Randy Dunlap <[email protected]>Cc: Harry Wentland <[email protected]
drm: amd/display: fix spelling of "function"Fix spellos of "function" in drivers/gpu/drm/amd/display/.Signed-off-by: Randy Dunlap <[email protected]>Cc: Harry Wentland <[email protected]>Cc: Leo Li <[email protected]>Cc: [email protected]Cc: [email protected]Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED[Why]DCN2 and DSC are stable enough to be build by default. So drop the flags.[How]Remove them using the unifdef tool. The foll
drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED[Why]DCN2 and DSC are stable enough to be build by default. So drop the flags.[How]Remove them using the unifdef tool. The following commands were executedin sequence:$ find -name '*.c' -exec unifdef -m -DCONFIG_DRM_AMD_DC_DSC_SUPPORT -DCONFIG_DRM_AMD_DC_DCN2_0 -UCONFIG_TRIM_DRM_AMD_DC_DCN2_0 '{}' ';'$ find -name '*.h' -exec unifdef -m -DCONFIG_DRM_AMD_DC_DSC_SUPPORT -DCONFIG_DRM_AMD_DC_DCN2_0 -UCONFIG_TRIM_DRM_AMD_DC_DCN2_0 '{}' ';'In addition:* Remove from kconfig, and replace any dependencies with DCN1_0.* Remove from any makefiles.* Fix and cleanup NV defninitions in dal_asic_id.h* Expand DCN1 ifdef to include DCN2 code in the following files: * clk_mgr/clk_mgr.c: dc_clk_mgr_create() * core/dc_resources.c: dc_create_resource_pool() * dce/dce_dmcu.c: dcn20_*lock_phy() * dce/dce_dmcu.c: dcn20_funcs * dce/dce_dmcu.c: dcn20_dmcu_create() * gpio/hw_factory.c: dal_hw_factory_init() * gpio/hw_translate.c: dal_hw_translate_init()Signed-off-by: Leo Li <[email protected]>Signed-off-by: Bhawanpreet Lakha <[email protected]>Reviewed-by: Alex Deucher <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: add oem i2c implemenation in dc[why]Need it for some OEM I2C devices in Nv10[how]Link up code to parse OEM table and expose DC interfaceto access the pinsSigned-off-by: Jun
drm/amd/display: add oem i2c implemenation in dc[why]Need it for some OEM I2C devices in Nv10[how]Link up code to parse OEM table and expose DC interfaceto access the pinsSigned-off-by: Jun Lei <[email protected]>Reviewed-by: Aric Cyr <[email protected]>Acked-by: Bhawanpreet Lakha <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: refactor gpio to allocate hw_container in constructor[why]if dynamic allocation fails during gpio_open, it will cause crash due topage fault.[how]handle allocation when gpio o
drm/amd/display: refactor gpio to allocate hw_container in constructor[why]if dynamic allocation fails during gpio_open, it will cause crash due topage fault.[how]handle allocation when gpio object gets created and prevent from callinggpio_open if allocation failedSigned-off-by: Su Sung Chung <[email protected]>Reviewed-by: Jun Lei <[email protected]>Acked-by: Leo Li <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: Change offset_to_id to reflect what id_to_offset returnsid_to_offset does not point to the same reg offset that offset_to_id checks for,causing unintended assertsSigned-off-by:
drm/amd/display: Change offset_to_id to reflect what id_to_offset returnsid_to_offset does not point to the same reg offset that offset_to_id checks for,causing unintended assertsSigned-off-by: Murton Liu <[email protected]>Reviewed-by: Aric Cyr <[email protected]>Acked-by: Leo Li <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: Implement generic MUX registers (v2)[Why]Logic & structures for generic regs does not exist in DC currently.[How]Implement register masks/shifts and relevant functions for gene
drm/amd/display: Implement generic MUX registers (v2)[Why]Logic & structures for generic regs does not exist in DC currently.[How]Implement register masks/shifts and relevant functions for generic mux,similar to existing HPD and DDC objects.V2: fix includes for kalloc/free (Alex)Signed-off-by: Murton Liu <[email protected]>Reviewed-by: Aric Cyr <[email protected]>Acked-by: Joshua Aberback <[email protected]>Acked-by: Leo Li <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: Add GPIO support for DCN2Adding support to program GPIO HW block of DCN2Signed-off-by: Harry Wentland <[email protected]>Signed-off-by: Alex Deucher <alexander.deucher@amd.
drm/amd/display: Add GPIO support for DCN2Adding support to program GPIO HW block of DCN2Signed-off-by: Harry Wentland <[email protected]>Signed-off-by: Alex Deucher <[email protected]>