drm/ttm: Clean usage of ttm_io_prot() with TTM_PL_FLAG_CACHED
[deliverable/linux.git] / drivers / gpu / drm / drm_dp_mst_topology.c
index ac3c2738db94ca2278686bfef33eb81e236d4bda..b3adf14450205db60941bd22554c9a5ecf00ba09 100644 (file)
@@ -1772,7 +1772,7 @@ static int drm_dp_get_vc_payload_bw(int dp_link_bw, int dp_link_count)
        case DP_LINK_BW_5_4:
                return 10 * dp_link_count;
        }
-       return 0;
+       BUG();
 }
 
 /**
@@ -2071,6 +2071,7 @@ static int drm_dp_mst_handle_up_req(struct drm_dp_mst_topology_mgr *mgr)
  * drm_dp_mst_hpd_irq() - MST hotplug IRQ notify
  * @mgr: manager to notify irq for.
  * @esi: 4 bytes from SINK_COUNT_ESI
+ * @handled: whether the hpd interrupt was consumed or not
  *
  * This should be called from the driver when it detects a short IRQ,
  * along with the value of the DEVICE_SERVICE_IRQ_VECTOR_ESI0. The
This page took 0.046271 seconds and 5 git commands to generate.