linux_dsm_epyc7002/drivers/gpu/drm/rcar-du
Sean Paul b7a3623d87 drm/rcar-du: Fix error check when retrieving crtc state
drm_atomic_get_crtc_state() returns an error pointer when it fails, so
the null check is doing nothing here.

Credit to 0-day/Dan Carpenter for reporting this.

Fixes: 6f3b62781b ("drm: Convert connector_helper_funcs->atomic_check to accept drm_atomic_state")
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Cc: Eric Anholt <eric@anholt.net>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> [for rcar lvds]
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Cc: Lyude Paul <lyude@redhat.com>
Cc: Karol Herbst <karolherbst@gmail.com>
Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: dri-devel@lists.freedesktop.org
Cc: intel-gfx@lists.freedesktop.org
Cc: linux-renesas-soc@vger.kernel.org
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190617181548.124134-1-sean@poorly.run
2019-06-18 11:44:00 -04:00
..
Kconfig drm: rcar-du: Add writeback support for R-Car Gen3 2019-03-18 17:24:51 +02:00
Makefile drm: rcar-du: Add writeback support for R-Car Gen3 2019-03-18 17:24:51 +02:00
rcar_du_crtc.c drm: rcar-du: Link CRTCs to the DU device 2019-03-28 06:06:33 +02:00
rcar_du_crtc.h drm: rcar-du: Link CRTCs to the DU device 2019-03-28 06:06:33 +02:00
rcar_du_drv.c drm: rcar-du: Add R8A774A1 support 2019-06-08 02:36:04 +03:00
rcar_du_drv.h drm: rcar-du: Turn LVDS clock output on/off for DPAD0 output on D3/E3 2019-02-08 02:25:56 +02:00
rcar_du_encoder.c drm: rcar-du: Skip LVDS1 output on Gen3 when using dual-link LVDS mode 2019-06-08 02:36:04 +03:00
rcar_du_encoder.h drm: rcar-du: Simplify encoder registration 2019-02-08 02:25:55 +02:00
rcar_du_group.c drm: rcar-du: Disable unused DPAD outputs 2019-01-14 03:51:27 +02:00
rcar_du_group.h drm: rcar-du: Convert to SPDX identifiers 2018-09-14 13:54:03 +03:00
rcar_du_kms.c drm: rcar-du: Add support for missing 16-bit RGB1555 formats 2019-06-08 16:36:41 +03:00
rcar_du_kms.h drm: rcar-du: Store V4L2 fourcc in rcar_du_format_info structure 2019-03-18 17:24:45 +02:00
rcar_du_of_lvds_r8a7790.dts drm: rcar-du: Convert live DT patches to sugar syntax 2019-01-14 03:51:17 +02:00
rcar_du_of_lvds_r8a7791.dts drm: rcar-du: Convert live DT patches to sugar syntax 2019-01-14 03:51:17 +02:00
rcar_du_of_lvds_r8a7793.dts drm: rcar-du: Convert live DT patches to sugar syntax 2019-01-14 03:51:17 +02:00
rcar_du_of_lvds_r8a7795.dts drm: rcar-du: Convert live DT patches to sugar syntax 2019-01-14 03:51:17 +02:00
rcar_du_of_lvds_r8a7796.dts drm: rcar-du: Convert live DT patches to sugar syntax 2019-01-14 03:51:17 +02:00
rcar_du_of.c
rcar_du_of.h drm: rcar-du: Fix rcar_du_of_init() stub 2018-05-17 15:03:32 +10:00
rcar_du_plane.c drm/rcar-du: prepare for drmP.h removal from drm_modeset_helper.h 2019-02-07 21:48:19 +01:00
rcar_du_plane.h drm: rcar-du: Remove inclusion of drmP.h 2019-01-14 03:51:33 +02:00
rcar_du_regs.h drm: rcar-du: Write ESCR and OTAR as CRTC registers 2018-09-15 17:28:31 +03:00
rcar_du_vsp.c drm: rcar-du: Link CRTCs to the DU device 2019-03-28 06:06:33 +02:00
rcar_du_vsp.h drm: rcar-du: vsp: Extract framebuffer (un)mapping to separate functions 2019-03-18 17:24:46 +02:00
rcar_du_writeback.c drm: rcar-du: writeback: include interface header 2019-06-08 02:36:04 +03:00
rcar_du_writeback.h drm: rcar-du: Add writeback support for R-Car Gen3 2019-03-18 17:24:51 +02:00
rcar_dw_hdmi.c drm-misc-next for 5.1: 2019-01-18 09:31:28 +10:00
rcar_lvds_regs.h drm: rcar-du: lvds: D3/E3 support 2018-09-25 00:40:56 +03:00
rcar_lvds.c drm/rcar-du: Fix error check when retrieving crtc state 2019-06-18 11:44:00 -04:00
rcar_lvds.h drm: rcar-du: lvds: Add support for dual-link mode 2019-06-08 02:36:04 +03:00