projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a4513b
)
drm/exynos: fix fb offset calculation for plane
author
Joonyoung Shim
<
[email protected]
>
Fri, 14 Dec 2012 06:48:22 +0000
(15:48 +0900)
committer
Inki Dae
<
[email protected]
>
Fri, 14 Dec 2012 06:54:34 +0000
(15:54 +0900)
There is no any reason to change fb offset when CRTC is out of screen.
Also, this fixes a typing error.
Signed-off-by: Joonyoung Shim <
[email protected]
>
Signed-off-by: Kyungmin Park <
[email protected]
>
Signed-off-by: Inki Dae <
[email protected]
>
drivers/gpu/drm/exynos/exynos_drm_plane.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_plane.c
b/drivers/gpu/drm/exynos/exynos_drm_plane.c
index 399b02663aef12ecbeb615e08264f73e40405b7d..83efc662d65ab7c97f64b9c1bf9a79a4d241b73c 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_plane.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_plane.c
@@
-40,7
+40,7
@@
static const uint32_t formats[] = {
* CRTC ----------------
* ^ start ^ end
*
- * There are six cases from a to
b
.
+ * There are six cases from a to
f
.
*
* <----- SCREEN ----->
* 0 last
@@
-104,16
+104,12
@@
int exynos_plane_mode_set(struct drm_plane *plane, struct drm_crtc *crtc,
if (crtc_x < 0) {
if (actual_w)
src_x -= crtc_x;
- else
- src_x += crtc_w;
crtc_x = 0;
}
if (crtc_y < 0) {
if (actual_h)
src_y -= crtc_y;
- else
- src_y += crtc_h;
crtc_y = 0;
}