bool force_subvp_mclk_switch;
        bool allow_sw_cursor_fallback;
        unsigned int force_subvp_num_ways;
+       bool alloc_extra_way_for_cursor;
        bool force_usr_allow;
        /* uses value at boot and disables switch */
        bool disable_dtb_ref_clk_switch;
 
                                 * using the max for calculation
                                 */
                                if (hubp->curs_attr.width > 0) {
-                                       cursor_size = hubp->curs_attr.width * hubp->curs_attr.height;
+                                       // Round cursor width to next multiple of 64
+                                       cursor_size = (((hubp->curs_attr.width + 63) / 64) * 64) * hubp->curs_attr.height;
                                        break;
                                }
                }
                        break;
                }
 
-               if (stream->cursor_position.enable && plane->address.grph.cursor_cache_addr.quad_part) {
+               if (stream->cursor_position.enable && !dc->debug.alloc_extra_way_for_cursor &&
+                               cursor_size > 16384) {
                        cache_lines_used += dcn32_cache_lines_for_surface(dc, cursor_size,
                                        plane->address.grph.cursor_cache_addr.quad_part);
                }
                        plane = ctx->stream_status[i].plane_states[j];
 
                        if (stream->cursor_position.enable && plane &&
-                               !plane->address.grph.cursor_cache_addr.quad_part &&
-                               cursor_size > 16384) {
+                                       dc->debug.alloc_extra_way_for_cursor &&
+                                       cursor_size > 16384) {
                                /* Cursor caching is not supported since it won't be on the same line.
                                 * So we need an extra line to accommodate it. With large cursors and a single 4k monitor
                                 * this case triggers corruption. If we're at the edge, then dont trigger display refresh
 
        .enable_single_display_2to1_odm_policy = true,
        .enable_dp_dig_pixel_rate_div_policy = 1,
        .allow_sw_cursor_fallback = false,
+       .alloc_extra_way_for_cursor = true,
 };
 
 static const struct dc_debug_options debug_defaults_diags = {
 
        .enable_single_display_2to1_odm_policy = true,
        .enable_dp_dig_pixel_rate_div_policy = 1,
        .allow_sw_cursor_fallback = false,
+       .alloc_extra_way_for_cursor = true,
 };
 
 static const struct dc_debug_options debug_defaults_diags = {