[PATCH 20/76] drm/amd/dal: rotation and mirror support
Harry Wentland
harry.wentland at amd.com
Mon Nov 21 23:00:40 UTC 2016
From: Vitaly Prosyak <vitaly.prosyak at amd.com>
Fix rotation 90 and 270.
Signed-off-by: Vitaly Prosyak <vitaly.prosyak at amd.com>
Acked-by: Harry Wentland <harry.wentland at amd.com>
---
drivers/gpu/drm/amd/dal/dc/core/dc_resource.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c b/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c
index 276833847c4d..0c02894cef26 100644
--- a/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c
+++ b/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c
@@ -444,11 +444,6 @@ static void calculate_recout(
struct core_stream *stream = pipe_ctx->stream;
struct rect clip = surface->clip_rect;
- if (surface->rotation == ROTATION_ANGLE_90 ||
- surface->rotation == ROTATION_ANGLE_270){
- rect_swap_helper(&clip);
- }
-
pipe_ctx->scl_data.recout.x = stream->public.dst.x;
if (stream->public.src.x < clip.x)
pipe_ctx->scl_data.recout.x += (clip.x
--
2.10.1
More information about the amd-gfx
mailing list