aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/icl_dsi.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2019-01-17 18:20:10 -0500
committerDave Airlie <airlied@redhat.com>2019-01-17 18:31:28 -0500
commitf164a94c2c87752caeb1a3cbe068c440e7f7921f (patch)
treee914296ef0ce1df83e506a12bf4306d5aa468b24 /drivers/gpu/drm/i915/icl_dsi.c
parentb122153c7198e35fcb981ca9efd63b0df8ef3eab (diff)
parent94520db52fc0e931327bb77fe79a952a0e9dd2b0 (diff)
Merge tag 'drm-misc-next-2019-01-16' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
drm-misc-next for 5.1: UAPI Changes: - New fourcc identifier for ARM Framebuffer Compression v1.3 Cross-subsystem Changes: Core Changes: - Reorganisation of drm_device and drm_framebuffer headers - Cleanup of the drmP inclusion - Fix leaks in the fb-helpers - Allow for depth different from bpp in fb-helper fbdev emulation - Remove drm_mode_object from drm_display_mode Driver Changes: - Add reflection properties to rockchip - a bunch of fixes for virtio - a bunch of fixes for dp_mst and drivers using it, and introduction of a new refcounting scheme - Convertion of bochs to atomic and generic fbdev emulation - Allow meson to remove the firmware framebuffers [airlied: patch rcar-du to add drm_modes.h] Signed-off-by: Dave Airlie <airlied@redhat.com> From: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190116200428.u2n4jbk4mzza7n6e@flea
Diffstat (limited to 'drivers/gpu/drm/i915/icl_dsi.c')
-rw-r--r--drivers/gpu/drm/i915/icl_dsi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/icl_dsi.c b/drivers/gpu/drm/i915/icl_dsi.c
index 4dd793b78996..d9dcee4ec51f 100644
--- a/drivers/gpu/drm/i915/icl_dsi.c
+++ b/drivers/gpu/drm/i915/icl_dsi.c
@@ -1178,9 +1178,9 @@ static void gen11_dsi_get_config(struct intel_encoder *encoder,
1178 pipe_config->output_types |= BIT(INTEL_OUTPUT_DSI); 1178 pipe_config->output_types |= BIT(INTEL_OUTPUT_DSI);
1179} 1179}
1180 1180
1181static bool gen11_dsi_compute_config(struct intel_encoder *encoder, 1181static int gen11_dsi_compute_config(struct intel_encoder *encoder,
1182 struct intel_crtc_state *pipe_config, 1182 struct intel_crtc_state *pipe_config,
1183 struct drm_connector_state *conn_state) 1183 struct drm_connector_state *conn_state)
1184{ 1184{
1185 struct intel_dsi *intel_dsi = container_of(encoder, struct intel_dsi, 1185 struct intel_dsi *intel_dsi = container_of(encoder, struct intel_dsi,
1186 base); 1186 base);
@@ -1205,7 +1205,7 @@ static bool gen11_dsi_compute_config(struct intel_encoder *encoder,
1205 pipe_config->clock_set = true; 1205 pipe_config->clock_set = true;
1206 pipe_config->port_clock = intel_dsi_bitrate(intel_dsi) / 5; 1206 pipe_config->port_clock = intel_dsi_bitrate(intel_dsi) / 5;
1207 1207
1208 return true; 1208 return 0;
1209} 1209}
1210 1210
1211static u64 gen11_dsi_get_power_domains(struct intel_encoder *encoder, 1211static u64 gen11_dsi_get_power_domains(struct intel_encoder *encoder,