]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: Use fb->format rather than drm_format_info()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 18 Nov 2016 19:53:03 +0000 (21:53 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 15 Dec 2016 12:55:32 +0000 (14:55 +0200)
commitcf46831ab6b293873570163b6bffc02b77b206ba
tree88fdb9e9950ebc6f1dad6f9a501c8ef3a1a09e93
parent203c8d7eb9664aee6bc9d4123be9411ed1aced5f
drm/nouveau: Use fb->format rather than drm_format_info()

Let's use the pointer to the format information cached under
drm_framebuffer rather than look it up manually.

Cc: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1479498793-31021-28-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/nouveau/nv50_display.c