1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc
Samson Tam aceeeea38a drm/amd/display: fix cursor calculation for 1xnY rotated display groups
[Why]
Cursor is missing on displays 2 and up when doing rotated
 display groups in 1xnY setup.  Calculation puts cursor
 out of bounds so it is not enabled.

[How]
In dcn10_set_cursor_position(), add in viewport.y into cursor
 calculations for 1xnY rotated display groups.
For pipe split, check viewport.y for both pipes and use lower one
 to normalize cursor position before calculations.
Add odm 2:1 support ( using same calculations as pipe split ).

Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-11-16 12:19:01 -05:00
..
basics drm/amd/display/dc/basics/fixpt31_32: Move variables to where they're used 2020-11-10 14:27:10 -05:00
bios drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
calcs drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
clk_mgr drm/amd/display: Handle Unknown Result for SMU Periodic Retraining on DCN2.1 2020-11-16 12:18:50 -05:00
core drm/amd/display: Hook up PSR residency command to DSAT 2020-11-16 12:18:38 -05:00
dce drm/amd/display: Hook up PSR residency command to DSAT 2020-11-16 12:18:38 -05:00
dce60 drm/amdgpu: remove unneeded break 2020-10-23 15:33:47 -04:00
dce80 drm/amd/display: Source minimum HBlank support 2020-10-26 13:27:52 -04:00
dce100 drm/amd/display: Source minimum HBlank support 2020-10-26 13:27:52 -04:00
dce110 drm/amd/display: correct eDP T9 delay 2020-11-02 15:31:10 -05:00
dce112 drm/amd/display: remove unneeded semicolon 2020-10-30 01:03:02 -04:00
dce120 drm/amd/display: Source minimum HBlank support 2020-10-26 13:27:52 -04:00
dcn10 drm/amd/display: fix cursor calculation for 1xnY rotated display groups 2020-11-16 12:19:01 -05:00
dcn20 drm/amd/display: Check other planes for iflip only if GSL already enabled 2020-11-10 14:25:51 -05:00
dcn21 drm/amd/display: Populate hostvm parameter before DML calculation 2020-11-16 12:18:44 -05:00
dcn30 drm/amdgpu/display: fix FP handling in DCN30 2020-11-13 17:29:46 -05:00
dcn301 drm/amd/display: force use sRGB for video TF is sRGB or BT709 2020-11-10 14:25:27 -05:00
dcn302 drm/amd/display: force use sRGB for video TF is sRGB or BT709 2020-11-10 14:25:27 -05:00
dml drm/amd/display: remove unused dml variables 2020-11-16 12:18:55 -05:00
dsc drm/amd/display: Fix compilation error 2020-11-02 15:29:33 -05:00
gpio drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
hdcp drm/amd/display: query hdcp capability during link detect 2020-04-09 10:43:17 -04:00
inc drm/amd/display: Populate hostvm parameter before DML calculation 2020-11-16 12:18:44 -05:00
irq drm/amd/display: Add missing pflip irq for dcn2.0 2020-11-13 17:29:47 -05:00
virtual drm/amd/display: Add dp_set_dsc_pps_info_packet to virtual stream encoder 2020-09-29 16:08:31 -04:00
dc.h drm/amd/display: check actual clock value. 2020-11-10 14:26:10 -05:00
dc_bios_types.h drm/amd/display: get socBB from VBIOS 2020-09-15 17:52:42 -04:00
dc_ddc_types.h drm/amd/display: Proper return of result when aux engine acquire fails 2019-10-25 16:50:09 -04:00
dc_dmub_srv.c drm/amd/display: implement notify stream mask 2020-09-15 17:52:41 -04:00
dc_dmub_srv.h drm/amd/display: implement notify stream mask 2020-09-15 17:52:41 -04:00
dc_dp_types.h drm/amd/display: add option to override cr training pattern 2020-09-15 17:52:40 -04:00
dc_dsc.h drm/amd/display: Add an option to limit max DSC target bpp per sink 2020-10-26 13:29:39 -04:00
dc_helper.c drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
dc_hw_types.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
dc_link.h drm/amd/display: Hook up PSR residency command to DSAT 2020-11-16 12:18:38 -05:00
dc_stream.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
dc_trace.h drm/amd/display: Add tracepoint for capturing clocks state 2020-10-26 13:34:26 -04:00
dc_types.h drm/amd/display: Engage PSR synchronously 2020-11-10 14:24:55 -05:00
dm_cp_psp.h drm/amd/display: enable assr 2020-07-01 01:59:25 -04:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
dm_pp_smu.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
dm_services.h drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
dm_services_types.h drm/amd/display: Add definition for number of backlight data points 2019-12-18 16:09:08 -05:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
Makefile drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
os_types.h drm/amd/display: Clean up debug macros 2020-10-26 16:52:08 -04:00