diff options
author | Stephane Viau <sviau@codeaurora.org> | 2014-12-08 10:48:58 -0500 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2015-02-01 15:30:35 -0500 |
commit | f8d9b5156e966e701cb17c623ffd6ebe35cc3157 (patch) | |
tree | 0e33d69578018f8eb3fbda70d8e8b50ff94f05b6 /drivers/gpu/drm/msm/msm_fb.c | |
parent | 7ca12718b393a6b71fc62782a64737b5c9dc6d3c (diff) | |
download | op-kernel-dev-f8d9b5156e966e701cb17c623ffd6ebe35cc3157.zip op-kernel-dev-f8d9b5156e966e701cb17c623ffd6ebe35cc3157.tar.gz |
drm/msm/mdp5: add NV12 support for MDP5
This change adds the NV12 format support for public planes.
Signed-off-by: Stephane Viau <sviau@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_fb.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_fb.c b/drivers/gpu/drm/msm/msm_fb.c index d1a7a45..6b573e6 100644 --- a/drivers/gpu/drm/msm/msm_fb.c +++ b/drivers/gpu/drm/msm/msm_fb.c @@ -122,7 +122,7 @@ uint32_t msm_framebuffer_iova(struct drm_framebuffer *fb, int id, int plane) struct msm_framebuffer *msm_fb = to_msm_framebuffer(fb); if (!msm_fb->planes[plane]) return 0; - return msm_gem_iova(msm_fb->planes[plane], id); + return msm_gem_iova(msm_fb->planes[plane], id) + fb->offsets[plane]; } struct drm_gem_object *msm_framebuffer_bo(struct drm_framebuffer *fb, int plane) |