linux/drivers/gpu/drm/amd/display/dc
Srinivasan Shanmugam 84298acf1c drm/amd/display: Fix redundant GPUVMEnable checks in dcn6 flip schedule
Inside dcn6_calculate_flip_schedule(), GPUVMEnable is already checked in
the outer if block. But the same GPUVMEnable is checked again in two
inner if blocks inside it. Since GPUVMEnable is always true at that
point, the inner else branches that assign meta_row_height are never
reached.

Remove the redundant inner GPUVMEnable checks and directly assign
dpte_row_height, which is always the correct value here.

Fixes: 7f7d7ea1fa ("drm/amd/display: Add new sources for DCN6")
Reported-by: Dan Carpenter <error27@gmail.com>
Cc: Roman Li <roman.li@amd.com>
Cc: Alex Hung <alex.hung@amd.com>
Cc: Tom Chung <chiahsuan.chung@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: George Zhang <george.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-08-25 18:23:50 -04:00
..
basics drm/amd/display: adjust floating point format for gamut remap when needed 2026-07-28 19:17:31 -04:00
bios drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
clk_mgr drm/amd/display: Ensure dtbclk is enabled 2026-08-06 09:58:19 -04:00
core drm/amd/display: fix BT.2020 YCbCr limited output CSC matrix 2026-08-12 09:42:44 -04:00
dccg drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
dce drm/amd/display: fix BT.2020 YCbCr output CSC matrices for DCE 2026-08-12 09:43:19 -04:00
dce60 drm/amd/display/dc: reclassify DCE6 resources and hw sequencer 2025-04-08 16:48:14 -04:00
dce80 drm/amd/display: Fix implicit narrowing conversion warnings 2026-04-17 15:41:15 -04:00
dce110 drm/amd/display: fix BT.2020 YCbCr output CSC matrices for DCE 2026-08-12 09:43:19 -04:00
dce112 drm/amd/display: Cleaned up headers 2026-07-01 11:34:22 -04:00
dce120 drm/amd/display: Fixed Silence complier warnings in dc 2026-03-30 15:12:15 -04:00
dcn10 drm/amd/display: Fix type mismatches using guards and explicit casts 2026-05-05 09:56:52 -04:00
dcn20 drm/amd/display: Fix type mismatches using guards and explicit casts 2026-05-05 09:56:52 -04:00
dcn21 drm/amd/display: Fix warnings 2026-05-11 16:10:34 -04:00
dcn30 drm/amd/display: use halving distribution for PQ/sRGB linearizing LUT 2026-07-01 11:22:05 -04:00
dcn31 drm/amd/display: Add DCN42B code to DC 2026-06-03 13:44:02 -04:00
dcn201 drm/amd/display: refactor HPD to increase flexibility 2025-12-08 13:56:40 -05:00
dcn301
dio drm/amd/display: switch max FFE level cap based on FRL link rate 2026-08-06 12:44:20 -04:00
dml drm/amd/display: Increase fclk change latency on dcn351 2026-08-06 12:42:21 -04:00
dml2_0 drm/amd/display: Fix redundant GPUVMEnable checks in dcn6 flip schedule 2026-08-25 18:23:50 -04:00
dpp drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
dsc drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
dwb drm/amd/display: adjust floating point format for gamut remap when needed 2026-07-28 19:17:31 -04:00
gpio drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
hdcp drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
hpo drm/amd/display: Add missing DCN42B register defines 2026-08-06 12:43:37 -04:00
hubbub drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
hubp drm/amd/display: Migrate color manager HW and fix MCM blend LUT issues 2026-08-06 12:44:26 -04:00
hwss drm/amd/display: Check for tg ops in dce110_set_avmute 2026-08-06 13:43:27 -04:00
inc drm/amd/display: Migrate color manager HW and fix MCM blend LUT issues 2026-08-06 12:44:26 -04:00
irq drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
link drm/amd/display: Fix HPD consideration for VGA/LVDS connectors on DCE 2026-08-25 18:20:00 -04:00
mmhubbub drm/amd/display: Port DCN4+ MCIF ARB programming to new format 2026-07-28 18:58:07 -04:00
mpc drm/amd/display: Migrate color manager HW and fix MCM blend LUT issues 2026-08-06 12:44:26 -04:00
opp drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
optc drm/amd/display: Fix CRC engine 1 enable/disable on DCN3.1.2+ 2026-08-06 12:44:01 -04:00
pg drm/amd/display: Refactor Driver PG's skip PG logic 2026-07-01 11:17:51 -04:00
resource drm/amd/display: Migrate color manager HW and fix MCM blend LUT issues 2026-08-06 12:44:26 -04:00
soc_and_ip_translator drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
sspl drm/amd/display: Add SPL UPSP upsampling and YUV422 scaling support 2026-07-28 18:44:42 -04:00
dc_bios_types.h drm/amd/display: Add no_native_i2c codepath 2026-06-03 13:43:29 -04:00
dc_ddc_types.h
dc_dmub_srv.c drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
dc_dmub_srv.h drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
dc_dp_types.h drm/amd/display: Add PSR Active VTotal Control capability 2026-06-17 16:15:43 -04:00
dc_dsc.h drm/amd/display: add HDMI 2.1 DSC over FRL support 2026-06-03 13:44:59 -04:00
dc_edid_parser.c
dc_edid_parser.h
dc_fused_io.c drm/amd/display: Add no_native_i2c codepath 2026-06-03 13:43:29 -04:00
dc_fused_io.h drm/amd/display: HDCP Locality check using DMUB Fused IO 2025-04-07 18:01:07 -04:00
dc_hdmi_types.h drm/amd/display: widen dc_hdmi_frl_flags.force_frl_rate to unsigned int 2026-06-04 15:24:42 -04:00
dc_helper.c drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
dc_hw_types.h drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
dc_plane_priv.h
dc_plane.h drm/amd/display: Sync dcn42 with DC 3.2.373 2026-03-11 13:58:07 -04:00
dc_probe.h drm/amd/display: Introduce dc_probe public object model 2026-07-28 18:37:13 -04:00
dc_spl_translate.c drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
dc_spl_translate.h
dc_stat.h
dc_state_priv.h drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
dc_state.h drm/amd/display: Introduce dc_state_get_status unified status accessor 2026-07-28 18:37:26 -04:00
dc_stream_priv.h
dc_stream.h drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
dc_trace.h drm/amd/display: Clean up unused code 2026-03-11 13:58:06 -04:00
dc_types.h drm/amd/display: Configure all CRC engines in pipe CRC source path 2026-08-06 12:44:05 -04:00
dc.h drm/amd/display: Promote DC to 3.2.392 2026-08-06 12:44:30 -04:00
dm_cp_psp.h drm/amd/display: Add HDMI FRL definitions to includes 2026-06-03 13:44:21 -04:00
dm_event_log.h
dm_helpers.h drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
dm_pp_smu.h
dm_services_types.h drm/amd/display: Add HDMI FRL definitions to includes 2026-06-03 13:44:21 -04:00
dm_services.h drm/amd/display: Deprecate DMUB register offload functionality 2026-06-17 16:08:41 -04:00
irq_types.h drm/amd/display: Implement HDMI Read Request 2025-04-21 11:27:25 -04:00
Makefile drm/amd/display: Refactor virtual directory reorganize encoder and hwss files. 2026-02-12 15:08:49 -05:00
os_types.h drm/amd/display: Replace amdgpu_dm_kunit_helpers.h with dm_helpers.h 2026-07-28 18:32:36 -04:00