drm: Replace pitch with pitches[] in drm_framebuffer
[deliverable/linux.git] / drivers / gpu / drm / drm_crtc.c
index 07d78e27ec3df205d9d212b52505559a167a525e..0d1faa72e1ff29ba3ce7810d272533ee2e89f846 100644 (file)
@@ -2292,7 +2292,7 @@ int drm_mode_getfb(struct drm_device *dev,
        r->width = fb->width;
        r->depth = fb->depth;
        r->bpp = fb->bits_per_pixel;
-       r->pitch = fb->pitch;
+       r->pitch = fb->pitches[0];
        fb->funcs->create_handle(fb, file_priv, &r->handle);
 
 out:
This page took 0.024656 seconds and 5 git commands to generate.