diff options
| author | Gloria Li <[email protected]> | 2018-07-26 15:32:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-08-27 16:10:14 +0000 |
| commit | 94a4ffd1d40b845dd19f9fdbb2cb6bf32de0946b (patch) | |
| tree | 42f3863606c9547ed38607d4796a7cfdcd6588d0 /drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | |
| parent | drm/amd/display: dc 3.1.61 (diff) | |
| download | kernel-94a4ffd1d40b845dd19f9fdbb2cb6bf32de0946b.tar.gz kernel-94a4ffd1d40b845dd19f9fdbb2cb6bf32de0946b.zip | |
drm/amd/display: fix PIP bugs on Dal3
[Why]
There are outstanding bugs for PIP in Dal3:
-Crash when toggling PIP visibility
-Global Alpha is not working, Adjusting global alpha
doesn’t have an effect
-Cursor is not working with pip plane and pipe splits
-One flash occurs when cursor enters PIP plane from
top/bottom
-Crash when moving PIP plane off the screen
[How]
Resolve divide by 0 error
Implement global alpha
Program cursor on all pipes
Add dst rects' x and y offests into cursor position
Disable cursor when it is beyond bottom/top edge
Signed-off-by: Gloria Li <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h index 80a480b9f137..e894e649ce5a 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h @@ -147,7 +147,8 @@ struct dpp_funcs { struct dpp *dpp_base, const struct dc_cursor_position *pos, const struct dc_cursor_mi_param *param, - uint32_t width + uint32_t width, + uint32_t height ); void (*dpp_set_hdr_multiplier)( struct dpp *dpp_base, |
