]> git.baikalelectronics.ru Git - kernel.git/commit
drm/arc: Stop consulting plane->fb
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 5 Apr 2018 19:50:29 +0000 (22:50 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 25 May 2018 17:08:27 +0000 (20:08 +0300)
commit7ee7eeee79487c92c137f8f20ffd44bd4a3fcc5d
tree3a269e5c5747f55c19ebc68049da73bce1ce196c
parent106ea985dafc19706450b837f69192b853e92f20
drm/arc: Stop consulting plane->fb

We want to stop using plane->fb with atomic driver, so stop looking at
it.

I have no idea what this code is trying to achieve. There is no
corresponding check in the enable path. Also since
arc_pgu_set_pxl_fmt() will anyway oops if there is no fb I'm going
to assuming that I can just remove the check entirely. There seems
to be a general shortage of .atomic_check() in this driver...

Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180405195035.24722-1-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Alexey Brodkin <abrodkin@synopys.com>
drivers/gpu/drm/arc/arcpgu_crtc.c