|
@@ -1039,7 +1039,7 @@ static uint16_t vlv_compute_wm_level(const struct intel_crtc_state *crtc_state,
|
|
if (WARN_ON(htotal == 0))
|
|
if (WARN_ON(htotal == 0))
|
|
htotal = 1;
|
|
htotal = 1;
|
|
|
|
|
|
- if (plane->base.type == DRM_PLANE_TYPE_CURSOR) {
|
|
|
|
|
|
+ if (plane->id == PLANE_CURSOR) {
|
|
/*
|
|
/*
|
|
* FIXME the formula gives values that are
|
|
* FIXME the formula gives values that are
|
|
* too big for the cursor FIFO, and hence we
|
|
* too big for the cursor FIFO, and hence we
|