Skip to content
Commit 287fb6de authored by Ady Abraham's avatar Ady Abraham
Browse files

Fix bugs with SWITCHING_TYPE_RENDER_FRAME_RATE_ONLY

 * The maximal render frame rate cannot be higher than the maximal
   physical refresh rate, as it is impossible to render faster than
   the display refreshes. This invariant is not kept when
   SWITCHING_TYPE_RENDER_FRAME_RATE_ONLY is used.
 * The render frame rate range might not include the physical
   refresh rate of the mode id. When the render frame rate switching
   is disabled, it should be just limited to the max render frame rate
   instead.

Test: atest DisplayModeDirectorTest
Bug: 260874985
Change-Id: Ie854922d54676628035853369b1674771813dade
parent 9e39ea7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment