old_hvs_state->fifo_state[channel].pending_commit = NULL;
}
- if (vc4->gen >= VC4_GEN_5 && !vc4->firmware_kms) {
+ if (vc4->gen == VC4_GEN_5 && !vc4->firmware_kms) {
unsigned long state_rate = max(old_hvs_state->core_clock_rate,
new_hvs_state->core_clock_rate);
unsigned long core_rate = clamp_t(unsigned long, state_rate,
drm_atomic_helper_cleanup_planes(dev, state);
- if (vc4->gen >= VC4_GEN_5 && !vc4->firmware_kms) {
+ if (vc4->gen == VC4_GEN_5 && !vc4->firmware_kms) {
unsigned long core_rate = min_t(unsigned long,
hvs->max_core_rate,
new_hvs_state->core_clock_rate);