mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-21 03:48:22 +02:00
amd/vpelib: Introduced reset to frontend
Add a reset mechanism in the frontend to fix artifacts caused by improper disablement affecting subsequent blending. Perform reset and configuration only when necessary, keeping behavior consistent with the frontend. Acked-by: Peyton Lee <peytolee@amd.com> Signed-off-by: Farhan Rouf <Farhan.Rouf@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42033>
This commit is contained in:
parent
25d2f09e9e
commit
34404c2df2
1 changed files with 3 additions and 0 deletions
|
|
@ -2099,6 +2099,9 @@ int32_t vpe20_program_frontend(struct vpe_priv* vpe_priv, uint32_t pipe_idx, uin
|
|||
// Always Bypass Post-Blend Gamut Remap
|
||||
mpc->funcs->set_gamut_remap2(mpc, NULL, VPE_MPC_GAMUT_REMAP);
|
||||
|
||||
// Disable unused gamma blocks to prevent corruption
|
||||
mpc->funcs->set_output_gamma(mpc, NULL);
|
||||
|
||||
// program hdr_mult
|
||||
fmt.exponenta_bits = 6;
|
||||
fmt.mantissa_bits = 12;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue