resource_build_scaling_params(
new_surfaces[i], &context->res_ctx.pipe_ctx[j]);
-
- if (dc->debug.surface_visual_confirm) {
- context->res_ctx.pipe_ctx[j].scl_data.recout.height -= 2;
- context->res_ctx.pipe_ctx[j].scl_data.recout.width -= 2;
- }
}
if (!core_dc->res_pool->funcs->validate_bandwidth(core_dc, context)) {
continue;
resource_build_scaling_params(updates[i].surface, pipe_ctx);
- if (dc->debug.surface_visual_confirm) {
- pipe_ctx->scl_data.recout.height -= 2;
- pipe_ctx->scl_data.recout.width -= 2;
- }
}
}
#include "reg_helper.h"
#include "opp.h"
#include "basics/conversion.h"
+#include "dc.h"
#define REG(reg) \
(xfm_dce->regs->reg)
int overscan_bottom = data->v_active
- data->recout.y - data->recout.height;
+ if (xfm_dce->base.ctx->dc->debug.surface_visual_confirm) {
+ overscan_bottom += 2;
+ overscan_right += 2;
+ }
+
if (overscan_right < 0) {
BREAK_TO_DEBUGGER();
overscan_right = 0;
#include "dce110_transform_v.h"
#include "dm_services.h"
+#include "dc.h"
#include "dce/dce_11_0_d.h"
#include "dce/dce_11_0_sh_mask.h"
int overscan_right = data->h_active - data->recout.x - data->recout.width;
int overscan_bottom = data->v_active - data->recout.y - data->recout.height;
+ if (xfm_dce->base.ctx->dc->debug.surface_visual_confirm) {
+ overscan_bottom += 2;
+ overscan_right += 2;
+ }
+
if (overscan_right < 0) {
BREAK_TO_DEBUGGER();
overscan_right = 0;