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
Loading
Please register or sign in to comment