Refresh Rate Switching Method, Electronic Device, and Computer-Readable Storage Medium
AssigneeHonor Device Co., Ltd.
InventorsLingyan Yue, Changchang Huang
Life of this patent
Estimating the term…
Abstract
A refresh rate switching method includes: controlling, by a display driver of the electronic device, a first DDIC to refresh an image to a first display based on a refresh rate of a first queue; receiving, by the display driver, a first refresh rate switching instruction, where a display frame rate of an APP displayed on the first display and/or a lowest refresh rate of the first display are/is carried in the first refresh rate switching instruction; configuring a second queue for the first DDIC based on the display frame rate and/or the lowest refresh rate that are/is carried in the first refresh rate switching instruction.
Claims20
A refresh rate switching method applied to an electronic device that comprises a first display and a first display driver integrated circuit corresponding to the first display, wherein the method comprises:
- controlling, by a display driver of the electronic device, the first display driver integrated circuit to refresh an image to the first display based on a refresh rate of a first queue, wherein the first queue is a first-type refresh rate queue or a second-type refresh rate queue, wherein the first-type refresh rate queue is a refresh rate queue that comprises at least two refresh rates distributed from high to low, and wherein the second-type refresh rate queue is a refresh rate queue in which a last refresh rate has a refresh rate value and a refresh rate before the last refresh rate is null;
- receiving, by the display driver of the electronic device, a first refresh rate switching instruction, wherein a display frame rate of an application displayed on the first display is carried in the first refresh rate switching instruction;
- configuring a second queue for the first display driver integrated circuit based on the display frame rate that is carried in the first refresh rate switching instruction, wherein the second queue is the first-type refresh rate queue or the second-type refresh rate queue;
- and
- when the first queue is the first-type refresh rate queue and the second queue is the second-type refresh rate queue:
- controlling the first display driver integrated circuit to refresh the image to the first display based on a refresh rate in the second queue before a non-skipping tearing effect (TE) signal;
- and
- synchronously delivering an instruction to control a TE signal shielding function to be enabled, wherein the non-skipping TE signal is a TE signal that has been reported to a surface flinger.
An electronic device, comprising:
- a memory configured to store one or more computer program codes comprising computer instructions;
- a first display;
- a second display;
- a first display driver integrated circuit;
- a second display driver integrated circuit;
- and
- one or more processors coupled to the memory, the first display, the second display, the first display driver integrated circuit, and the second display driver integrated circuit and configured to execute the computer instruction to configure the electronic device for:
- controlling, by a display driver of the electronic device, the first display driver integrated circuit to refresh an image to the first display based on a refresh rate of a first queue, wherein the first queue is a first-type refresh rate queue or a second-type refresh rate queue, wherein the first-type refresh rate queue is a refresh rate queue that comprises at least two refresh rates distributed from high to low, and wherein the second-type refresh rate queue is a refresh rate queue in which a last refresh rate has a refresh rate value and a refresh rate before the last refresh rate is null;
- receiving, by the display driver of the electronic device, a first refresh rate switching instruction, wherein a display frame rate of an application displayed on the first display and a lowest refresh rate of the first display are carried in the first refresh rate switching instruction;
- configuring a second queue for the first display driver integrated circuit based on the display frame rate and the lowest refresh rate that are carried in the first refresh rate switching instruction, wherein the second queue is the first-type refresh rate queue or the second-type refresh rate queue;
- and
- when the first queue is the first-type refresh rate queue and the second queue is the second-type refresh rate queue:
- controlling the first display driver integrated circuit to refresh the image to the first display based on a refresh rate in the second queue before a non-skipping tearing effect (TE) signal;
- and
- synchronously delivering an instruction to control a TE signal shielding function to be enabled, wherein the non-skipping TE signal is a TE signal that has been reported to a surface flinger.
A computer-readable storage medium storing a computer program thereon, which when executed by a processor of an electronic device, configures the electronic device for:
- controlling, by a display driver of the electronic device, the first display driver integrated circuit to refresh an image to the first display based on a refresh rate of a first queue, wherein the first queue is a first-type refresh rate queue or a second-type refresh rate queue, wherein the first-type refresh rate queue is a refresh rate queue that comprises at least two refresh rates distributed from high to low, and wherein the second-type refresh rate queue is a refresh rate queue in which a last refresh rate has a refresh rate value and a refresh rate before the last refresh rate is null;
- receiving, by the display driver of the electronic device, a first refresh rate switching instruction, wherein a lowest refresh rate of the first display is carried in the first refresh rate switching instruction;
- configuring a second queue for the first display driver integrated circuit based on the lowest refresh rate that is carried in the first refresh rate switching instruction, wherein the second queue is the first-type refresh rate queue or the second-type refresh rate queue;
- and
- when the first queue is the first-type refresh rate queue and the second queue is the second-type refresh rate queue:
- controlling the first display driver integrated circuit to refresh the image to the first display based on a refresh rate in the second queue before a non-skipping tearing effect (TE) signal;
- and
- synchronously delivering an instruction to control a TE signal shielding function to be enabled, wherein the non-skipping TE signal is a TE signal that has been reported to a surface flinger.
Dependencies are inferred from the claim text.