linux/drivers/gpu/drm/msm/dsi
John Stultz 7fd2dfc369 drm: msm: Fix return type of dsi_mgr_connector_mode_valid for kCFI
I was hitting kCFI crashes when building with clang, and after
some digging finally narrowed it down to the
dsi_mgr_connector_mode_valid() function being implemented as
returning an int, instead of an enum drm_mode_status.

This patch fixes it, and appeases the opaque word of the kCFI
gods (seriously, clang inlining everything makes the kCFI
backtraces only really rough estimates of where things went
wrong).

Thanks as always to Sami for his help narrowing this down.

Cc: Rob Clark <robdclark@gmail.com>
Cc: Sean Paul <sean@poorly.run>
Cc: Sami Tolvanen <samitolvanen@google.com>
Cc: Todd Kjos <tkjos@google.com>
Cc: Alistair Delva <adelva@google.com>
Cc: Amit Pundir <amit.pundir@linaro.org>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: freedreno@lists.freedesktop.org
Cc: clang-built-linux@googlegroups.com
Signed-off-by: John Stultz <john.stultz@linaro.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2020-02-11 07:39:50 -08:00
..
phy drm/msm/dsi: Add configuration for 28nm PLL on family B 2019-11-04 13:17:42 -08:00
pll clk: mux: Add support for specifying parents via DT/pointers 2020-01-06 23:10:05 -08:00
dsi_cfg.c drm/msm: add DSI support for sc7180 2020-01-07 08:25:56 -08:00
dsi_cfg.h drm/msm: add DSI support for sc7180 2020-01-07 08:25:56 -08:00
dsi_host.c drm/msm: update LANE_CTRL register value from default value 2020-01-07 08:26:30 -08:00
dsi_manager.c drm: msm: Fix return type of dsi_mgr_connector_mode_valid for kCFI 2020-02-11 07:39:50 -08:00
dsi.c Merge tag 'drm-msm-next-2019-06-25' of https://gitlab.freedesktop.org/drm/msm into drm-next 2019-06-28 10:16:40 +10:00
dsi.h drm/msm/dsi: split clk rate setting and enable 2020-01-04 08:52:04 -08:00
dsi.xml.h drm/msm: update generated headers 2018-08-10 18:49:18 -04:00
mmss_cc.xml.h drm/msm: update generated headers 2018-08-10 18:49:18 -04:00
sfpb.xml.h drm/msm: update generated headers 2018-08-10 18:49:18 -04:00