Re: [PATCH] drm/i915/pm: Warn if rpm frequencies are not set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Mika Kuoppala (2018-03-20 13:58:42)
> We do end up setting ring frequencies on a hardware
> which is not yet there wrt runtime pm enablement.
> 
> Instead of ending up in an endless loop iterating through
> frequencies if min and max frequencies are still set to zero,
> warn and bail out early.

Hmm, if you are hitting this in practice, I
would just go with

if (rps->max_freq <= rps->min_freq)
	return;

I'm sure we have warnings else where for invalid min/max freq.

Don't worry about min_ring_freq unless you have a document that says
otherwise.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux