Display frame rate adjustment methods, devices, application processors, and electronic devices
By adjusting the reporting frequency of the TE signal and the transmission frequency of image data in the application processor (AP), the problem of unstable frame rate was solved, resulting in a more stable display effect and multi-level control.
Patent Information
- Application Number
- CN202210765354.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2042-06-30
AI Technical Summary
Existing technologies are prone to frame rate instability and stuttering when adjusting display frame rates, especially when switching frequencies at high refresh rates, which can cause time-consuming stuttering and frame rate instability.
By reporting the TE signal to the hardware synthesizer HWC at the second refresh rate in the application processor (AP) and sending the rendered image data to the display driver chip DDIC at the second refresh rate, the refresh rate of the AP is reduced to avoid the underlying layer operating at the original refresh rate, thus achieving stable frame rate control.
It effectively avoids stuttering caused by unstable frame rates, improves display quality, and achieves more stable frame rate adjustment through multi-level control.
Smart Images

Figure CN115100993B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and more specifically, to a method, apparatus, application processor, and electronic device for adjusting display frame rate. Background Technology
[0002] With the continuous development of display technology, more and more high refresh rate displays have emerged. When running high frame rate applications or during swiping operations, setting the display to a high refresh rate mode can improve the smoothness of the image. In related technologies, adjusting the display frame rate can be achieved by adjusting the frequency of the application's vertical synchronization (Vsync) signal, thereby changing the refresh rate at which the application (APP) renders images, and consequently, the refresh rate at which the application processor (AP) produces images. However, in this method, the underlying processing still uses the original refresh rate, which can lead to unstable frame rates and stuttering. Summary of the Invention
[0003] This application proposes a method, apparatus, application processor, and electronic device for adjusting the display frame rate, which can achieve more stable frame rate control and improve display effect.
[0004] In a first aspect, embodiments of this application provide a method for adjusting the display frame rate, applied to an application processor (AP), wherein the AP is connected to a display driver chip (DDIC) of a display screen, the method comprising: receiving a tearing effect (TE) signal sent by the DDIC, wherein the DDIC is used to perform image scanning according to a first refresh frequency and output the TE signal to the AP according to the first refresh frequency; reporting a portion of the received TE signal to a hardware synthesizer (HWC) according to a second refresh frequency, and sending rendered image data to the DDIC according to the second refresh frequency, wherein the second refresh frequency is less than the first refresh frequency.
[0005] Secondly, embodiments of this application provide a method for adjusting the display frame rate, applied to an electronic device. The electronic device includes a display screen DDIC and an access point (AP). The DDIC is connected to the AP. The method includes: the DDIC performing image scanning according to a first refresh frequency and outputting a tearing effect (TE) signal to the AP according to the first refresh frequency; the AP reporting a portion of the received TE signal to a hardware synthesizer (HWC) according to a second refresh frequency, and sending rendered image data to the DDIC according to the second refresh frequency, wherein the second refresh frequency is less than the first refresh frequency.
[0006] Thirdly, this application provides a display frame rate adjustment device applied to an access point (AP), wherein the AP is connected to a display screen's DDIC. The device includes a signal receiving module and a frequency adjustment module. The signal receiving module receives a tearing effect (TE) signal sent by the DDIC. The DDIC performs image scanning according to a first refresh rate and outputs the TE signal to the AP according to the first refresh rate. The frequency adjustment module reports a portion of the received TE signal to a hardware synthesizer (HWC) according to a second refresh rate and sends rendered image data to the DDIC according to the second refresh rate, wherein the second refresh rate is less than the first refresh rate.
[0007] Fourthly, embodiments of this application provide an application processor (AP) connected to the DDIC of a display screen, the AP being used to implement the display frame rate adjustment method provided in the first aspect.
[0008] Fifthly, embodiments of this application provide an electronic device, the electronic device including a display screen, an access point (AP), and a DDIC of the display screen, the AP being connected to the DDIC, and the AP being used to implement the display frame rate adjustment method provided in the first aspect above.
[0009] In a sixth aspect, embodiments of this application provide a computer-readable storage medium storing program code, which can be invoked by a processor to execute the display frame rate adjustment method provided in the first aspect or the display frame rate adjustment method provided in the second aspect.
[0010] The solution provided in this application involves the AP receiving TE signals sent by the DDIC. The DDIC performs image scanning according to a first refresh rate and outputs TE signals to the AP according to the same rate. In this case, the AP reports a portion of the received TE signals to the HWC at a second refresh rate, and sends the rendered image data to the DDIC at the same second refresh rate. The second refresh rate is lower than the first refresh rate. Since the AP performs image rendering at the frequency of reporting TE signals to the HWC, it can reduce both the AP's refresh rate and the frequency at which it outputs rendered image data to the DDIC. This avoids frame rate instability caused by the underlying layer operating at its original refresh rate, thus preventing stuttering and improving display quality. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 A schematic diagram illustrating the principle of the image display process provided in the embodiments of this application is shown.
[0013] Figure 2 A schematic diagram illustrating the principle of the frame rate synchronization mechanism provided in the embodiments of this application is shown.
[0014] Figure 3 A schematic diagram illustrating one implementation of adjusting the display frame rate in related technologies is shown.
[0015] Figure 4 Another implementation diagram of adjusting the display frame rate in related technologies is shown.
[0016] Figure 5 This diagram illustrates another implementation of adjusting the display frame rate in related technologies.
[0017] Figure 6 A flowchart of a method for adjusting the display frame rate according to an embodiment of this application is shown.
[0018] Figure 7 This illustration shows an embodiment of adjusting the display frame rate according to one aspect of this application.
[0019] Figure 8 This illustration shows another implementation diagram of adjusting the display frame rate according to one embodiment of this application.
[0020] Figure 9 A flowchart of a method for adjusting the display frame rate according to another embodiment of this application is shown.
[0021] Figure 10 This diagram illustrates another implementation of adjusting the display frame rate in related technologies.
[0022] Figure 11 A schematic diagram illustrating an embodiment of adjusting the display frame rate provided in another embodiment of this application is shown.
[0023] Figure 12 A flowchart of a method for adjusting the display frame rate according to yet another embodiment of this application is shown.
[0024] Figure 13 A flowchart of a method for adjusting the display frame rate according to another embodiment of this application is shown.
[0025] Figure 14 A block diagram of a display frame rate adjustment apparatus according to an embodiment of this application is shown.
[0026] Figure 15 This is a block diagram of an electronic device for performing a display frame rate adjustment method according to an embodiment of this application.
[0027] Figure 16 This is a storage unit in this application embodiment for storing or carrying program code that implements the display frame rate adjustment method according to this application embodiment. Detailed Implementation
[0028] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0029] The method described in this application can be applied to various electronic devices, such as mobile phones, tablets, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), and other terminals that include a display screen. This application does not limit the specific type of terminal. Furthermore, the display screen can be an organic light-emitting diode (OLED) display screen.
[0030] For OLED displays, in the application processor (AP) - display driver integrated circuit (DDIC) - display panel driving architecture, i.e., the AP-DDIC-Panel driving architecture, such as Figure 1As shown, the AP first renders the layers using the application (App), then uses Surface Flinger to composite the rendered layers to obtain image data. This image data is then sent to the DDIC (Display Controller Interface) via the Mobile Industry Processor Interface (MIPI). The DDIC stores the image data sent by the AP in a buffer and controls the Panel to refresh and display the image by scanning (reading) the image data in the buffer. In high refresh rate display scenarios, the AP generates image data frequently, and correspondingly, the Panel refreshes the image frequently based on this data, thereby improving the smoothness of the display.
[0031] With the widespread adoption of high refresh rate screens, the trade-off between the smooth experience brought by high frame rates and the associated power consumption, performance, and temperature rise has become more pronounced. Under the same conditions, a higher frame rate leads to higher power consumption, higher performance requirements, and higher temperature rise requirements. Therefore, during system debugging before leaving the factory, electronic devices undergo dynamic frame rate adjustment based on different user scenarios to achieve a balance between user experience, power consumption, performance, and temperature rise.
[0032] Current frame rate control technologies typically employ dynamic scene recognition to evaluate the impact of various factors, such as smoothness, performance, power consumption, and temperature rise, and then vote on the most suitable frame rate. Furthermore, low-temperature polycrystalline oxide (LTPO) screens combine high mobility and low leakage current, allowing for both high-frequency, high-smoothness operation and low-frequency, low-power consumption, enabling more sophisticated dynamic frame rate control strategies.
[0033] Please refer to the relevant technologies. Figure 2 The frame rate synchronization mechanism of the operating system installed on electronic devices is as follows:
[0034] The display driver chip (DDIC) of the display panel (screen) generates a tearing effect (TE) signal and sends it to the kernel space of the application processor (AP). Specifically, the Direct Rendering Manager (DRM) in the kernel space receives the TE signal. The operating system typically divides itself into two parts: the core software, i.e., the kernel space, and the ordinary applications, i.e., the user space. The DRM is a subsystem within the kernel space, and it is typically used for the interface interaction between applications and the graphics processor, as well as the interaction between applications and the display panel.
[0035] After receiving the TE signal, the Direct Render Manager in the kernel space of the application (AP) reports it to the hardware composer (HWC) in the native layer via input / output control (IOCTL). This signal is also called the hardware vertical synchronization signal (HW Vsync). The HWC then passes the HWVsync to the layer compositor (SurfaceFlinger), which uses this to calibrate the application vertical synchronization signal (APP Vsync), which is the synchronization signal for application rendering. SurfaceFlinger is a system service that composites layers rendered by the application, such as views, web views, texture views, native activities, and surface views, to obtain image data. The HWC is used by SurfaceFlinger to composite these layers onto the screen.
[0036] In other words, after each TE signal is reported to HWC, Surface Flinger and the APP will obtain the reported TW signal and render a frame of image. That is, Surface Flinger and the APP work according to the frequency of AP reporting TE signals, and AP renders images according to the frequency of reporting TE signals to HWC.
[0037] The Tearing Effect (TE) signal is generated by the DDIC to prevent screen tearing during image refresh. The DDIC chip generates a TE signal when it's ready to refresh the next frame. Optionally, the AP sends the next frame's image data to the DDIC after each TE signal is reported to the HWC. Therefore, the frame rate at which the DDIC scans image data and controls the Panel's image display corresponds to the frequency at which the DDIC sends TE signals; and the frequency at which the AP produces image data and sends it to the DDIC corresponds to the frequency at which the AP's kernel layer reports TE signals to the upper layer after receiving them.
[0038] In related technologies, there are two main ways to reduce the display frame rate when the display frame rate is high. For example... Figure 3 As shown, the first method involves simultaneously switching the frequencies of the APP's Vsync and the TE signals sent by DDIC. This requires a full-link switch between the software frame rate and the hardware refresh rate; that is, simultaneously reducing the frame rate of the APP's rendered image from 120Hz to 60Hz, and also reducing the frequency of the screen scan image display from 120Hz to 60Hz. However, this method requires a full-link switch from the upper layer (APP) to the lower layer (kernel layer) and the hardware, and the switching at each node is time-consuming. This leads to issues such as stuttering, frame drops, and other delays. Furthermore, screens typically support a limited number of frame rate levels, usually 60 / 90 / 120Hz, thus limiting the available switchable frame rate levels.
[0039] like Figure 4 As shown, the second method involves only switching the frequency of the APP Vsync signal. In this case, only the software frame rate is reduced from 120Hz to 60Hz, which is the frame rate at which the APP renders the image. However, in this method, if only the APP Vsync signal is restricted, and the frequency of the TE signal reported by DDIC remains unchanged, the underlying layer (kernel layer) still processes the image at the original 120Hz. That is, each frame of rendered image data is transmitted to DDIC at 120Hz. If there is a stutter at HWC or the kernel layer, two consecutive frames may be refreshed at 120Hz, resulting in unstable frame rates and stuttering.
[0040] For example, such as Figure 5As shown, after reducing the frequency of the APP Vsync signal from 120Hz to 60Hz, the frequency at which the DDIC sends the TE signal to the AP remains at 120Hz. At this time, the DDIC still scans the image and sends it to the screen for display at a frequency of 120Hz, and the AP also reports the TE signal to the HWC at a frequency of 120Hz. Meanwhile, the underlying layer (kernel layer) still transmits the rendered image data of each frame to the DDIC at a frequency of 120Hz. Figure 4 In contrast, if the frequency of the APP Vsync signal is reduced from 120Hz to 60Hz, and frame N+1 is delayed by one frame due to stuttering, but frame N+2 is not delayed, then because the kernel layer transmits each rendered frame of image data to the DDIC at a frequency of 120Hz, the AP will send one frame of rendered image data to the DDIC every time it receives a TE signal sent by the DDIC at 120Hz. The DDIC will still scan the image and send it to the screen for display at a frequency of 120Hz. This will cause frames N+1 and N+2 to be displayed consecutively, when in fact there should be a one-frame interval between the display of frames N+2 and N+1. Therefore, uneven image transmission will occur, resulting in unstable frame rate and stuttering.
[0041] To address the aforementioned problems, the inventors have proposed a display frame rate adjustment method, apparatus, electronic device, and storage medium as provided in the embodiments of this application. This allows for the reduction of the display frame rate by decreasing the frequency at which the AP reports the TE signal to the HWC. Simultaneously, this reduces the AP's refresh rate and the frequency at which it outputs rendered image data to the DDIC, thus preventing frame rate instability that would occur when the underlying layer operates at its original refresh rate. This, in turn, avoids stuttering and improves display quality. The specific display frame rate adjustment method will be described in detail in subsequent embodiments.
[0042] The method for adjusting the display frame rate provided in the embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0043] Please see Figure 6 , Figure 6 A flowchart illustrating a display frame rate adjustment method according to an embodiment of this application is shown. This display frame rate adjustment method can be executed by an access point (AP) connected to the display screen's DDIC. The following will focus on... Figure 6 The process shown will be described in detail. The method for adjusting the display frame rate may specifically include the following steps:
[0044] Step S110: Receive the TE signal sent by the DDIC, wherein the DDIC is used to perform image scanning according to the first refresh frequency and output the TE signal to the AP according to the first refresh frequency.
[0045] In this embodiment, the display screen can operate at a first refresh rate. At this time, the DDIC performs image scanning at the first refresh rate; that is, the DDIC scans the image data in the buffer at the first refresh rate and controls the display panel to refresh and display the image; and outputs a TE signal to the AP at the first refresh rate.
[0046] In this scenario, if there's no need to reduce the display frame rate, the AP (Application Processor) renders the image according to the frequency of the received TE (Transmission Transmission) signal, following the first refresh rate. Each time the received TE signal is reported to the HWC (Hardware Wiring Center), the AP sends a frame of image data to the DDIC (Display Controller Interface). Therefore, the DDIC receives the image frame data at the first refresh rate. Since the DDIC scans the image data in the buffer at the first refresh rate, the display panel can display content at the first refresh rate, meaning the display frame rate is the first refresh rate. In this case, the frequency at which the AP renders and sends the image is the same as the frequency at which the display refreshes and reports the TE signal. Therefore, each displayed frame is unique; each frame is rendered and drawn independently by the AP.
[0047] For example, such as Figure 7 As shown, when the refresh rate of the display screen is 120Hz, the DDIC outputs a TE signal at a frequency of 120Hz, the AP draws the image at a frequency of 120Hz, and transmits the drawn image frame data to the DDIC each time a TE signal is reported (the received TE signal is reported to the HWC); after receiving the transmitted image frame data, the DDIC performs image scanning and controls the display panel to display.
[0048] Step S120: According to the second refresh frequency, a portion of the received TE signals are reported to the HWC, and the rendered image data is sent to the DDIC according to the second refresh frequency, wherein the second refresh frequency is less than the first refresh frequency.
[0049] In this embodiment of the application, if the DDIC performs image scanning at the first refresh frequency and outputs TE signals to the AP at the first refresh frequency, and if it is necessary to reduce the display frame rate, the AP can report part of the received TE signals to the HWC at the second refresh frequency and send the rendered image data to the DDIC at the second refresh frequency. Therefore, since the AP reports the received TE signal to the HWC according to the second refresh frequency, and the Surface Flinger and APP operate according to the frequency at which the AP reports the TE signal, even though the DDIC outputs the TE signal to the AP according to the first refresh frequency, the AP renders the image according to the second refresh frequency. Furthermore, since the AP sends the rendered image data to the DDIC according to the second refresh frequency, the frequency at which the DDIC actually receives the image data transmitted by the AP is also the second refresh frequency. In this way, even if the DDIC performs image scanning according to the first refresh frequency, that is, the display refreshes the image according to the first refresh frequency, the frequency of different image frames actually displayed on the screen is the second refresh frequency. Here, different image frames refer to the image frames sent by the AP each time, such as the Nth frame, the N+1th frame, the N+1th frame, etc., sent by the AP. However, when the AP does not send a new frame of image data, the DDIC will control the Panel to repeatedly display a single frame of image data based on the most recently received frame of image data.
[0050] In some implementations, when the DDIC performs image scanning according to a first refresh rate and outputs a TE signal to the AP according to the first refresh rate, the AP reports a portion of the received TE signal to the HWC according to a second refresh rate, and sends the rendered image data to the DDIC according to the second refresh rate. This can be done when conditions for reducing the display frame rate are detected. The AP can determine whether the conditions for reducing the display frame rate are met based on the current scene.
[0051] In one possible implementation, the AP can obtain the application type of the foreground application and determine whether the conditions for reducing the display frame rate are met based on the application type. For example, if the current DDIC is scanning the image at 120Hz and outputting a TE signal to the AP, and the foreground application is a video application, since the video frame rate is usually less than 60 frames / second (generally 24 frames / second or 30 frames / second), the AP can determine that the conditions for reducing the display frame rate are met. Therefore, the AP can report the received TE signal to the HWC at a refresh rate lower than 120Hz, such as 60Hz or 30Hz, and send the rendered image data to the DDIC at this refresh rate.
[0052] In this way, although DDIC reports the TE signal according to the first refresh frequency, the AP only needs to adjust the received TE signal and report the received TE signal according to the second refresh frequency to achieve the adjustment of the display frame rate. This effectively avoids the stuttering and frame drop problems that occur when switching the frequency of APP Vsync and the TE signal sent by DDIC at the same time.
[0053] Secondly, even if there is a stutter in the HWC or kernel layer, causing a certain frame of image data to be delayed in being displayed, since the AP transmits each frame of image data after rendering to the DDIC at the second refresh rate, and the second refresh rate is less than the first refresh rate, there will be no situation where two adjacent frames of image data transmitted by the AP are refreshed consecutively. Instead, the two adjacent frames of image data transmitted by the AP are displayed according to the second refresh rate.
[0054] For example, such as Figure 7 As shown, when the display refresh rate is 120Hz, the DDIC outputs a TE signal at a frequency of 120Hz and scans image data for display at a frequency of 120Hz. When a lower frame rate is needed, the AP reports the TE signal at a frequency of 60Hz (reporting the received TE signal to the HWC) and transmits a rendered frame of image data to the DDIC at a frequency of 60Hz. Therefore, although the DDIC outputs a TE signal at a frequency of 120Hz, it does not do so every time it outputs a TE signal (i.e.,...). Figure 7 Instead of scanning a new frame of image data at each rising edge of the TE signal, a new frame of image data will be scanned only after a one-frame interval. For example, Figure 7 The N+1 frame and the N+2 frame are displayed with a one-frame interval. Since DDIC refreshes the image at 120Hz, the interval frame can still be displayed as the N+1 frame.
[0055] Furthermore, even if a frame of image data is delayed by one frame during display, because the AP displays data at a frequency of 60Hz, there will be no situation where two consecutive frames of image data are displayed, causing the screen to continuously refresh the image. This prevents unstable frame rates and stuttering. For example, as... Figure 8 As shown, if the image data of frame N+1 is delayed by one frame, but because the AP sends the image data at a frequency of 60Hz, the image data of frame N+1 will not be sent to the DDIC at present. Instead, the image data of frame N+1 will be sent to the DDIC in the next frame and displayed after being scanned by the DDIC. Similarly, the image data of frame N+2 will also be sent to the DDIC at the next time it is sent (i.e., after another frame interval) and displayed after being scanned by the DDIC.
[0056] In some implementations, the AP reports a portion of the received TE signals to the hardware synthesizer (HWC) at a second refresh frequency, and sends the rendered image data to the DDIC at the same second refresh frequency. This can include: the AP reporting a portion of the received TE signals to the HWC at the second refresh frequency; and sending the rendered image data to the DDIC each time a TE signal is reported to the HWC. It is understood that since the AP sends a rendered frame of image data to the DDIC each time a TE signal is reported to the HWC, and the AP reports the received TE signals to the HWC at the second refresh frequency, the frequency at which the AP sends the rendered image data to the DDIC is also the second refresh frequency. Figure 7 As shown, the AP sends the rendered image data to the DDIC every time it reports a TE signal. The DDIC scans the received image data and then displays it, thus avoiding the continuous image refresh situation in related technologies.
[0057] In some implementations, the display screen can be an LPPO screen. Because LPPO combines high mobility and low leakage current, it can maintain high frequency and high smoothness while achieving low frequency and low power consumption. Compared to LTPS, its main advantage is the ability to achieve a lower refresh rate. Specifically, when the AP sends an image, the DDIC responds and refreshes immediately; when the AP does not send an image, the DDIC can maintain a low refresh rate, specifically a minimum of 1Hz. Therefore, by reducing the frame rate at the AP, the refresh rate at the DDIC can be made equal to the frame rate of the image sent by the AP. This allows for simultaneous control of both the AP's frame rate and the DDIC's refresh rate, achieving power savings.
[0058] The display frame rate adjustment method provided in this application embodiment can achieve the adjustment of the display frame rate without changing the operating frequency of DDIC. It only requires the AP to adjust the received TE signal so that it reports the received TE signal according to the second refresh frequency. This effectively avoids the stuttering and frame drop problems that occur when switching the frequency of APP Vsync and the TE signal sent by DDIC at the same time. In addition, since the AP transmits each frame of image data after rendering to DDIC according to the second refresh frequency, and the second refresh frequency is less than the first refresh frequency, even if there is a stutter in HWC or kernel layer, which causes a certain frame of image data to be delayed in being sent for display, there will be no situation where two adjacent frames of image data transmitted by the AP are refreshed consecutively. Therefore, there will be no unstable frame rate and stuttering problem, which improves the display effect.
[0059] Please see Figure 9 , Figure 9A flowchart illustrating a display frame rate adjustment method according to another embodiment of this application is shown. This display frame rate adjustment method is applied to the aforementioned AP, and will be discussed below. Figure 9 The process shown will be described in detail. The method for adjusting the display frame rate may specifically include the following steps:
[0060] Step S210: Receive the tearing effect TE signal sent by the DDIC, wherein the DDIC is used to perform image scanning according to a first refresh frequency and output the TE signal to the AP according to the first refresh frequency.
[0061] In this embodiment, step S210 can be referred to the content of the foregoing embodiments, and will not be repeated here.
[0062] Step S220: For each TE signal sent by the DDIC, filter out some of the TE signals received at certain times according to the second refresh frequency, report the remaining TE signals received at certain times to the HWC, and send the rendered image data to the DDIC according to the second refresh frequency.
[0063] Normally, the AP reports the received TE signal to the HWC each time it receives it. However, due to the need to reduce the display frame rate and ensure that the DDIC does not refresh adjacent frames of image data transmitted by the AP consecutively, in this embodiment, the AP can specify each TE signal sent by the DDIC and filter the TE signals received at certain times according to a second refresh frequency, while reporting the TE signals received at other times to the HWC. This allows the AP to report the received TE signals to the HWC according to the second refresh frequency and send the rendered image data to the DDIC according to the second refresh frequency.
[0064] In some implementations, the AP can filter the TE signals received at certain times according to a pre-set filtering algorithm corresponding to the second refresh frequency, while the TE signals received at other times will be reported. The filtering algorithm corresponding to the second refresh frequency can ensure that the frequency of the TE signals reported by the AP corresponds to the second refresh frequency.
[0065] In one possible implementation, the AP can determine the time interval for reporting TE signals to the HWC based on the second refresh frequency; for each TE signal sent by the DDIC, the AP reports the currently received TE signal to the HWC according to the time interval, and ignores the TE signals received within the time interval.
[0066] Optionally, the AP can report the received TE signals at intervals according to the timing of the TE signals reported by the DDIC, while the TE signals received within the interval are filtered out and will not be reported to the HWC by the AP.
[0067] For example, please refer again Figure 7 The first refresh rate is 120Hz, and the second refresh rate is 60Hz. Figure 7 Each rising edge of the TE signal indicates that the DDIC has output a TE signal to the AP. The AP does not report the TE signal transmitted by the DDIC every time, but only reports the received TE signal after a rising edge (one frame). This allows the AP to filter the received TE signal and report the received TE signal at 60Hz. The AP also sends the image data of one frame rendered at 60Hz to the DDIC.
[0068] In some implementations, the first refresh rate and the second refresh rate are the base refresh rates supported by the display screen. In this case, when the AP sends the rendered image data to the DDIC at the second refresh rate, since the second refresh rate is the base refresh rate supported by the display screen, the DDIC can reduce the display screen's frame rate. Specifically, the DDIC can adjust its refresh rate to the second refresh rate; that is, the DDIC performs image scanning according to the second refresh rate and outputs a TE signal to the AP according to the second refresh rate, thereby making the refresh rate at the DDIC end consistent with the refresh rate at the AP end.
[0069] In some implementations, the second refresh rate can be 1 / N of the first refresh rate, and the second refresh rate is an integer, where N is an integer greater than or equal to 2. That is, at the current refresh rate of the display screen, the AP can reduce the refresh rate to 1 / N of the first refresh rate, as long as the reduced frequency is an integer. For example, if the first refresh rate is 120Hz, the second refresh rate can be 60Hz, 30Hz, 24Hz, 10Hz, or 1Hz; as another example, if the first refresh rate is 240Hz, the second refresh rate can be 1Hz, 2Hz, 3Hz, 4Hz, 5Hz, 6Hz, 8Hz, 10Hz, 12Hz, 15Hz, 16Hz, 20Hz, 24Hz, 30Hz, 40Hz, 48Hz, 60Hz, 80Hz, or 120Hz.
[0070] By using the above method, since the refresh frequency at the DDIC end can be higher, the frequency of the received TE signal reported by the AP end and the frequency of transmitting the rendered image data to the DDIC can operate at a lower frequency, as long as the refresh frequency at the DDIC end is divisible. Therefore, not only can multi-level frame rate control be achieved, but also more stable frame rate control can be achieved.
[0071] For example, please see Figure 10 When playing a video with a frame rate of 24Hz, if the traditional method of simultaneously switching APPVsync and TE signals is used, the screen output image has a 3:2 time relationship. This means that the screen refresh rate is typically 60Hz when playing video. However, if the video frame rate is 24Hz, since 60Hz is not divisible by 24Hz, the output image can only be displayed as follows: Figure 10 In this process, one frame is refreshed every 3 cycles, and then another frame is refreshed every 2 cycles to output a 24Hz video.
[0072] However, when playing 24Hz video using the display frame rate adjustment method provided in this application embodiment, since the refresh rate at the DDIC end can be relatively high, the frequency of the received TE signal reported by the AP end and the frequency of transmitting the rendered image data to the DDIC end can operate at a lower frequency. Therefore, the refresh rate at the DDIC end can be a frequency greater than 60Hz and divisible by 24Hz. Figure 11 As shown, the refresh rate of the DDIC terminal can be 120Hz. At the same time, the frequency of the received TE signal reported by the AP terminal and the frequency of transmitting the rendered image data to the DDIC are consistent with the video frame rate (both are 24Hz). Therefore, the time of the screen output image can be stabilized, that is, the image is output uniformly, and there will be no problem of unstable frame rate.
[0073] The display frame rate adjustment method provided in this application embodiment, when the DDIC performs image scanning according to a first refresh rate and outputs TE signals to the AP according to the first refresh rate, the AP filters out some TE signals received at each moment according to a second refresh rate for each TE signal sent by the DDIC, and reports the TE signals received at other moments to the HWC. Therefore, the AP can report the received TE signals to the HWC according to the second refresh rate and send the rendered image data to the DDIC according to the second refresh rate. This allows the AP to reduce the refresh rate while simultaneously reducing the frequency of outputting rendered image data to the DDIC, thereby avoiding frame rate instability caused by the underlying layer operating at the original refresh rate, preventing display stuttering, and improving the display effect.
[0074] Please see Figure 12 , Figure 12A flowchart illustrating a display frame rate adjustment method according to another embodiment of this application is shown. This display frame rate adjustment method is applied to the aforementioned AP, and will be discussed below. Figure 12 The process shown will be described in detail. The method for adjusting the display frame rate may specifically include the following steps:
[0075] Step S310: Receive the tearing effect TE signal sent by the DDIC, wherein the DDIC is used to perform image scanning according to a first refresh frequency and output the TE signal to the AP according to the first refresh frequency.
[0076] In this embodiment, step S310 can be referred to the content of the foregoing embodiments, and will not be repeated here.
[0077] Step S320: Obtain the display frame rate corresponding to the current running scene.
[0078] In this embodiment, when the DDIC scans the image according to a first refresh frequency and outputs a TE signal to the AP according to the first refresh frequency, the AP can determine the frequency at which it reports the received TE signal and the frequency at which it sends the rendered image data to the DDIC based on the current operating scenario. The electronic device can obtain the display frame rate corresponding to the current operating scenario. Understandably, different operating scenarios require different display frame rates. For example, when playing a video, different frame rates require different display frame rates; similarly, different games require different display frame rates; and different applications require different display frame rates. Based on this, the display frame rate corresponding to the current operating scenario can be obtained to determine the frequency at which the AP reports the received TE signal and the frequency at which it sends the rendered image data to the DDIC.
[0079] In some implementations, the AP can determine the display frame rate corresponding to the current running scene based on at least one of the foreground running applications and the running status. For example, when the foreground application is a game, the frame rate of the game can be obtained as the display frame rate corresponding to the current running scene. For example, the frame rate of the game can be 60Hz, 30Hz, etc.; as another example, when the foreground application is a video playback application, the frame rate of the currently playing video can be obtained as the display frame rate corresponding to the current running scene. For example, the frame rate of the video can be 60Hz, 30Hz, etc.; as yet another example, when running a navigation application, the display frame rate of the navigation application can be used as the display frame rate corresponding to the current running scene. For example, if the display frame rate of the navigation application is 60Hz, then the display frame rate corresponding to the current running scene can be determined to be 60Hz; as yet another example, based on the running status, if it is determined that the device is running at a low frame rate or has not been touched for a long time, the display frame rate can be determined to be 10Hz; as yet another example, based on the running status, if it is determined that the device is currently in Always On Display (AOD), the display frame rate can be determined to be 1Hz; as yet another example, based on the running status, if it is determined that the device temperature is higher than a preset temperature, the display frame rate can be determined to be a frame rate lower than the first refresh rate. Of course, there is no limit to the specific method for determining the display frame rate corresponding to the current running scene.
[0080] Step S330: If the display frame rate is less than the first refresh frequency, then according to the second refresh frequency, a portion of the received TE signals are reported to the hardware synthesizer HWC, and the rendered image data is sent to the DDIC according to the second refresh frequency, wherein the second refresh frequency matches the display frame rate.
[0081] In this embodiment, after determining the display frame rate corresponding to the current running scene, the AP can compare the display frame rate with a first refresh rate. Based on the comparison result, it can determine the frequency at which the AP reports the received TE signals and the frequency at which it sends the rendered image data to the DDIC. If the display frame rate is less than the first refresh rate, the AP can report a portion of the received TE signals to the HWC at a second refresh rate and send the rendered image data to the DDIC at the same second refresh rate. This second refresh rate matches the display frame rate, meaning it is less than the first refresh rate. Therefore, the AP can reduce the refresh rate while simultaneously reducing the frequency of outputting rendered image data to the DDIC, thus avoiding frame rate instability caused by the underlying layer operating at the original refresh rate, thereby preventing stuttering and improving the display effect.
[0082] Step S340: If the display frame rate is equal to the first refresh frequency, then the received TE signal is reported to the HWC according to the first refresh frequency, and the rendered image data is sent to the DDIC according to the first refresh frequency, wherein the first refresh frequency matches the display frame rate.
[0083] In this embodiment, after the AP compares the display frame rate corresponding to the current running scene with the first refresh frequency, if the display frame rate is equal to the first refresh frequency, the AP can report the received TE signal to the HWC according to the first refresh frequency, and send the rendered image data to the DDIC according to the first refresh frequency. The first refresh frequency matches the display frame rate, that is, the refresh rate of both the AP and the DDIC is kept at the first refresh frequency.
[0084] Step S350: If the display frame rate is greater than the first refresh frequency, then send an upsampling command to the DDIC. The upsampling command is used to instruct the DDIC to perform image scanning according to the third refresh frequency and output a TE signal to the AP according to the third refresh frequency, wherein the third refresh frequency matches the display frame rate.
[0085] In this embodiment, after comparing the display frame rate corresponding to the current operating scene with the first refresh frequency, if the display frame rate is greater than the first refresh frequency, it indicates that the refresh frequency of the current DDIC cannot meet the current operating scene. Therefore, the AP can send an upsampling command to the DDIC. After receiving the upsampling command, the DDIC can respond by performing image scanning according to the third refresh frequency and outputting a TE signal to the AP according to the third refresh frequency. The third refresh frequency matches the display frame rate, thereby increasing the refresh rate of the DDIC.
[0086] Step S360: According to the third refresh frequency, report the received TE signal to the HWC, and send the rendered image data to the DDIC according to the third refresh frequency.
[0087] In this embodiment of the application, when the DDIC performs image scanning according to the third refresh frequency and outputs a TE signal to the AP according to the third refresh frequency, the AP also reports the received TE signal to the HWC according to the third refresh frequency and sends the rendered image data to the DDIC according to the third refresh frequency. That is, the refresh rate of both the AP and the DDIC is the third refresh frequency.
[0088] The display frame rate adjustment method provided in this application embodiment, when the DDIC performs image scanning according to the first refresh frequency and outputs TE signal to the AP according to the first refresh frequency, the AP determines the frequency of reporting the received TE signal and the frequency of sending the rendered image data to the DDIC according to the display frame rate corresponding to the current running scene, thereby achieving more stable frame rate control and improving the display effect.
[0089] Please see Figure 13 , Figure 13 A flowchart illustrating a display frame rate adjustment method according to another embodiment of this application is shown. This display frame rate adjustment method is applied to an electronic device, which includes a display screen DDIC and an access point (AP), with the DDIC connected to the AP. The following will focus on... Figure 13 The process shown will be described in detail. The method for adjusting the display frame rate may specifically include the following steps:
[0090] Step S410: The DDIC performs image scanning according to the first refresh frequency and outputs a tearing effect TE signal to the AP according to the first refresh frequency.
[0091] Step S420: The AP reports part of the received TE signals to the HWC according to the second refresh frequency, and sends the rendered image data to the DDIC according to the second refresh frequency, wherein the second refresh frequency is less than the first refresh frequency.
[0092] In the embodiments of this application, steps S410 and S420 can be referred to the content of the foregoing embodiments, and will not be repeated here.
[0093] In some implementations, after the AP reports some of the received TE signals to the HWC at the second refresh frequency and sends the rendered image data to the DDIC at the second refresh frequency, that is, after reducing the refresh frequency of the AP and the frequency of sending image data, since the DDIC still operates at the original first refresh frequency, that is, the refresh frequency of the display screen is still the first refresh frequency, only that the previous frame image will be repeatedly displayed between two adjacent frames transmitted by the AP, the DDIC can further reduce the refresh frequency of the display screen to the second refresh frequency to further save power consumption.
[0094] In one possible implementation, when the DDIC reduces the refresh rate of the display screen to the second refresh rate, it can perform image scanning according to the second refresh rate and output a TE signal to the AP according to the second refresh rate, thereby realizing the reduction of the refresh rate of the display screen to the second refresh rate.
[0095] Optionally, DDIC can reduce the display's refresh rate by lowering it multiple times, i.e., through multi-level adjustments, to reduce the display's refresh rate to a second refresh rate. For example, if the first refresh rate is 120Hz and the second refresh rate is 60Hz, the refresh rate can be reduced to 80Hz first, and then further reduced to 60Hz, thereby avoiding flickering and improving the display effect.
[0096] Optionally, during the process of reducing the refresh rate of the display screen, if the difference between the first refresh rate and the second refresh rate is greater than the refresh rate threshold, for example, when the refresh rate threshold is 30Hz, the DDIC can first maintain the first refresh rate for a preset number of refreshes before reducing to the second refresh rate to refresh the image.
[0097] In one possible implementation, the DDIC reduces the refresh rate of the display screen to a second refresh rate. This can be achieved by the DDIC counting the frequency at which it sends image data to the received image data. Since the AP sends image data at the second refresh rate, the DDIC can also count the frequency at which it sends image data as the second refresh rate, and thus control the refresh rate of the display screen to be reduced to that second refresh rate.
[0098] It should be noted that, for the sake of simplicity, the aforementioned method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions. In some embodiments of this application, certain steps may be performed in other orders.
[0099] Please see Figure 14 This document illustrates a structural block diagram of a display frame rate adjustment device 400 provided in an embodiment of this application. The display frame rate adjustment device 400 utilizes the aforementioned AP, which is connected to the DDIC of the display screen. The display frame rate adjustment device 400 includes a signal receiving module 410 and a frequency adjustment module 420. The signal receiving module 410 receives a tearing effect (TE) signal transmitted by the DDIC, wherein the DDIC performs image scanning according to a first refresh frequency and outputs the TE signal to the AP according to the first refresh frequency; the frequency adjustment module 420 reports a portion of the received TE signal to the hardware synthesizer (HWC) according to a second refresh frequency, and sends the rendered image data to the DDIC according to the second refresh frequency, wherein the second refresh frequency is less than the first refresh frequency.
[0100] In some implementations, the frequency adjustment module 420 may be specifically used to: for each TE signal transmitted by the DDIC, filter out some of the TE signals received at certain times according to the second refresh frequency, and report the TE signals received at other times to the HWC.
[0101] In one possible implementation, the frequency adjustment module 420 may be specifically used to: determine the time interval for reporting TE signals to the HWC according to the second refresh frequency; for each TE signal sent by the DDIC, report the currently received TE signal to the HWC according to the time interval, and ignore the TE signals received within the time interval.
[0102] In some implementations, the frequency adjustment module 420 may be specifically used to: report a portion of the received TE signals to the hardware synthesizer HWC according to the second refresh frequency; and send the rendered image data to the DDIC each time a TE signal is reported to the HWC.
[0103] In some implementations, the frequency adjustment module 420 may be specifically used to: obtain the display frame rate corresponding to the current running scene; if the display frame rate is less than the first refresh frequency, then perform the following: report part of the received TE signal to the hardware synthesizer HWC according to the second refresh frequency, and send the rendered image data to the DDIC according to the second refresh frequency, wherein the second refresh frequency matches the display frame rate.
[0104] In one possible implementation, the frequency adjustment module 420 can also be used to: if the display frame rate is greater than the first refresh frequency, send an upsampling command to the DDIC, the upsampling command being used to instruct the DDIC to perform image scanning according to a third refresh frequency, and output a TE signal to the AP according to the third refresh frequency, the third refresh frequency being matched with the display frame rate; report the received TE signal to the HWC according to the third refresh frequency, and send the rendered image data to the DDIC according to the third refresh frequency.
[0105] In one possible implementation, the frequency adjustment module 420 can also be used to: if the display frame rate is equal to the first refresh frequency, report the received TE signal to the HWC according to the first refresh frequency, and send the rendered image data to the DDIC according to the first refresh frequency, wherein the first refresh frequency matches the display frame rate.
[0106] In some implementations, the first refresh frequency and the second refresh frequency are the base refresh frequencies supported by the display screen; the DDIC is used to perform image scanning according to the second refresh frequency if the AP sends the rendered image data to the DDIC according to the second refresh frequency, and output a TE signal to the AP according to the second refresh frequency.
[0107] In one possible implementation, the second refresh frequency is 1 / N of the first refresh frequency, and the second refresh frequency is an integer, where N is an integer greater than or equal to 2.
[0108] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device and module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0109] In the several embodiments provided in this application, the coupling between modules can be electrical, mechanical, or other forms of coupling.
[0110] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0111] For example, this application embodiment also provides an access point (AP) connected to a display screen's DDIC. The AP is configured to: receive a tearing effect (TE) signal sent by the DDIC, wherein the DDIC is configured to perform image scanning according to a first refresh rate and output the TE signal to the AP according to the first refresh rate; report a portion of the received TE signal to a hardware synthesizer (HWC) according to a second refresh rate, and send rendered image data to the DDIC according to the second refresh rate, wherein the second refresh rate is less than the first refresh rate.
[0112] In some implementations, the AP can be used to: filter out some TE signals received at certain times according to a second refresh frequency for each TE signal sent by the DDIC, and report the TE signals received at other times to the HWC.
[0113] In one possible implementation, the AP can be used to: determine the time interval for reporting TE signals to the HWC according to the second refresh frequency; for each TE signal sent by the DDIC, report the currently received TE signal to the HWC according to the time interval, and ignore the TE signals received within the time interval.
[0114] In some implementations, the AP can be used to: report a portion of the received TE signals to the hardware synthesizer HWC at a second refresh frequency; and send the rendered image data to the DDIC each time a TE signal is reported to the HWC.
[0115] In one possible implementation, the AP can be used to: obtain the display frame rate corresponding to the current running scene; if the display frame rate is less than the first refresh frequency, then perform the following: report part of the received TE signal to the hardware synthesizer HWC according to the second refresh frequency, and send the rendered image data to the DDIC according to the second refresh frequency, wherein the second refresh frequency matches the display frame rate.
[0116] In one possible implementation, the AP can also be used to: if the display frame rate is greater than the first refresh frequency, send an upsampling command to the DDIC, the upsampling command instructing the DDIC to perform image scanning according to a third refresh frequency, and output a TE signal to the AP according to the third refresh frequency, the third refresh frequency being matched with the display frame rate; report the received TE signal to the HWC according to the third refresh frequency, and send the rendered image data to the DDIC according to the third refresh frequency.
[0117] In one possible implementation, the AP can also be used to: if the display frame rate is equal to the first refresh frequency, report the received TE signal to the HWC according to the first refresh frequency, and send the rendered image data to the DDIC according to the first refresh frequency, wherein the first refresh frequency matches the display frame rate.
[0118] In some implementations, the first refresh frequency and the second refresh frequency are the base refresh frequencies supported by the display screen; the DDIC is used to perform image scanning according to the second refresh frequency if the AP sends the rendered image data to the DDIC according to the second refresh frequency, and output a TE signal to the AP according to the second refresh frequency.
[0119] In some implementations, the second refresh frequency is 1 / N of the first refresh frequency, and the second refresh frequency is an integer, where N is an integer greater than or equal to 2.
[0120] In summary, the solution provided in this application involves the AP receiving a TE signal from the DDIC. The DDIC performs image scanning according to a first refresh rate and outputs a TE signal to the AP according to the same rate. In this case, the AP reports the received TE signal to the HWC at a second refresh rate and sends the rendered image data to the DDIC at the same second refresh rate, where the second refresh rate is lower than the first refresh rate. Since the AP performs image rendering at the frequency at which it reports the TE signal to the HWC, it can reduce both the AP's refresh rate and the frequency at which it outputs the rendered image data to the DDIC. This avoids frame rate instability caused by the underlying layer operating at its original refresh rate, thus preventing stuttering and improving display quality.
[0121] Please refer to Figure 15 This document illustrates a structural block diagram of an electronic device according to an embodiment of this application. The electronic device 100 can be a smartphone, tablet computer, smartwatch, e-reader, or other electronic device capable of running applications. The electronic device 100 in this application may include one or more of the following components: an application processor 110, a memory 120, a display screen 130, and one or more applications. The one or more applications may be stored in the memory 120 and configured to be executed by the one or more application processors 110. The one or more applications are configured to perform the methods described in the foregoing method embodiments.
[0122] Application processor 110 may include one or more processing cores. Application processor 110 connects to various parts within the electronic device 100 using various interfaces and lines, and performs various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets, or instruction sets stored in memory 120, and by calling data stored in memory 120. Optionally, application processor 110 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Application processor 110 may integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into application processor 110 and may be implemented separately through a communication chip.
[0123] The memory 120 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 120 may include a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the various method embodiments of this application, etc.; the data storage area may store data created based on the use of the electronic device 100 (such as audio data, telephone directory, etc.).
[0124] The display screen 130 is a display component used for displaying images, and is typically located on the front panel of the electronic device 100. The display screen 130 can be designed as a full-screen, curved screen, irregularly shaped screen, dual-sided screen, or foldable screen. The display screen 130 can also be designed as a combination of a full-screen and a curved screen, or a combination of an irregularly shaped screen and a curved screen; this embodiment does not limit this design.
[0125] In this embodiment, the display screen 130 includes a display driver chip (DDIC) 131 and a display panel 132 (panel). The display panel 132 is an OLED display screen, which may be a low-temperature polycrystalline silicon (LTPS) AMOLED display screen or a low-temperature polycrystalline oxide (LTPO) AMOLED display screen.
[0126] The display driver chip 131 is used to drive the display panel 132 to display images. In addition, the display driver chip 131 is connected to the application processor 110 via a MIPI interface to receive image data and instructions from the application processor 110.
[0127] In one possible implementation, the display screen 130 also has a touch function, through which users can use their fingers, styluses, or any suitable object to perform touch operations on the display screen 130.
[0128] In addition, those skilled in the art will understand that the structure of the electronic device 100 shown in the above figures does not constitute a limitation on the electronic device 100. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the electronic device 100 also includes components such as a microphone, speaker, radio frequency circuit, input unit, sensor, audio circuit, Wireless Fidelity (WiFi) module, power supply, and Bluetooth module, which will not be described in detail here.
[0129] Please refer to Figure 16 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable medium 800 stores program code that can be called by a processor to execute the methods described in the above method embodiments.
[0130] The computer-readable storage medium 800 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 800 has storage space for program code 810 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
[0131] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A method for adjusting the display frame rate, characterized in that, The method, applied to an application processor (AP) connected to a display driver chip (DDIC) of a display screen, includes: The AP receives the tearing effect TE signal sent by the DDIC, wherein the DDIC is used to perform image scanning according to a first refresh frequency and output the TE signal to the AP according to the first refresh frequency; The AP reports a portion of the TE signal received from the DDIC to the hardware synthesizer HWC according to the second refresh frequency, and sends the rendered image data to the DDIC according to the second refresh frequency, wherein the second refresh frequency is less than the first refresh frequency.
2. The method according to claim 1, characterized in that, The AP reports a portion of the TE signal received from the DDIC to the hardware synthesizer HWC according to the second refresh frequency, including: For each TE signal sent by the DDIC, the TE signals received at certain times are filtered out according to the second refresh frequency, and the TE signals received at other times are reported to the HWC.
3. The method according to claim 2, characterized in that, The step of filtering out some TE signals received at certain times according to the second refresh frequency for each TE signal transmitted by the DDIC, and reporting the remaining TE signals received at certain times to the HWC, includes: Based on the second refresh frequency, determine the duration interval for reporting the TE signal to the HWC; For each TE signal sent by the DDIC, the currently received TE signal is reported to the HWC according to the time interval, and the TE signals received within the time interval are ignored.
4. The method according to claim 1, characterized in that, The AP, according to the second refresh frequency, reports a portion of the TE signal received from the DDIC to the hardware synthesizer HWC, and sends the rendered image data to the DDIC according to the second refresh frequency, including: According to the second refresh frequency, a portion of the received TE signals are reported to the HWC; Each time a TE signal is reported to the HWC, the rendered image data is sent to the DDIC.
5. The method according to any one of claims 1-4, characterized in that, The AP, according to the second refresh frequency, reports a portion of the TE signal received from the DDIC to the hardware synthesizer HWC, and sends the rendered image data to the DDIC according to the second refresh frequency, including: Get the display frame rate corresponding to the current running scene; If the display frame rate is less than the first refresh frequency, then according to the second refresh frequency, a portion of the TE signal received from the DDIC is reported to the hardware synthesizer HWC, and the rendered image data is sent to the DDIC according to the second refresh frequency, wherein the second refresh frequency matches the display frame rate.
6. The method according to claim 5, characterized in that, The method further includes: If the display frame rate is greater than the first refresh frequency, an up-frequency command is sent to the DDIC. The up-frequency command is used to instruct the DDIC to perform image scanning according to the third refresh frequency and output a TE signal to the AP according to the third refresh frequency, wherein the third refresh frequency is matched with the display frame rate. According to the third refresh frequency, the received TE signal is reported to the HWC, and the rendered image data is sent to the DDIC according to the third refresh frequency.
7. The method according to claim 5, characterized in that, The method further includes: If the display frame rate is equal to the first refresh frequency, then the received TE signal is reported to the HWC according to the first refresh frequency, and the rendered image data is sent to the DDIC according to the first refresh frequency, wherein the first refresh frequency matches the display frame rate.
8. The method according to any one of claims 1-4, characterized in that, The first refresh rate and the second refresh rate are the base refresh rates supported by the display screen; The DDIC is used to perform image scanning according to the second refresh frequency if the AP sends the rendered image data to the DDIC according to the second refresh frequency, and output a TE signal to the AP according to the second refresh frequency.
9. The method according to any one of claims 1-4, characterized in that, The second refresh frequency is 1 / N of the first refresh frequency, and the second refresh frequency is an integer, where N is an integer greater than or equal to 2.
10. A method for adjusting the display frame rate, characterized in that, Applied to an electronic device, the electronic device including a display driver chip (DDIC) for a display screen and an application processor (AP), the DDIC being connected to the AP, the method comprising: The DDIC performs image scanning according to a first refresh frequency and outputs a tearing effect TE signal to the AP according to the first refresh frequency. The AP reports a portion of the TE signal received from the DDIC to the hardware synthesizer HWC according to the second refresh frequency, and sends the rendered image data to the DDIC according to the second refresh frequency, wherein the second refresh frequency is less than the first refresh frequency.
11. The method according to claim 10, characterized in that, After the AP reports a portion of the TE signal received from the DDIC to the hardware synthesizer HWC at the second refresh frequency, and sends the rendered image data to the DDIC at the second refresh frequency, the method further includes: The DDIC reduces the refresh rate of the display screen to the second refresh rate.
12. The method according to claim 10, characterized in that, The DDIC reduces the display frame rate of the screen to the second refresh rate, including: The DDIC performs image scanning according to the second refresh frequency and outputs a TE signal to the AP according to the second refresh frequency.
13. A device for adjusting the display frame rate, characterized in that, The device, applied to an application processor (AP) and connected to a display driver chip (DDIC) of a display screen, includes a signal receiving module and a frequency adjustment module. The signal receiving module is used to receive the tearing effect TE signal sent by the DDIC to the AP, wherein the DDIC is used to perform image scanning according to a first refresh frequency and output the TE signal to the AP according to the first refresh frequency; The frequency adjustment module is used to report a portion of the TE signal received from the DDIC to the hardware synthesizer HWC according to the second refresh frequency, and to send the rendered image data to the DDIC according to the second refresh frequency, wherein the second refresh frequency is less than the first refresh frequency.
14. An application processor (AP), characterized in that, The AP is connected to the display driver chip DDIC of the display screen, and the AP is used to implement the method as described in any one of claims 1-9.
15. An electronic device, characterized in that, The electronic device includes a display screen, an application processor (AP), and a display driver chip (DDIC) for the display screen. The AP is connected to the DDIC and is used to implement the method as described in any one of claims 1 to 9.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains program code that can be invoked by a processor to execute the method as described in any one of claims 1-12.
Citation Information
Patent Citations
Display screen frequency conversion method, DDIC chip, display screen module and terminal
CN112331145A
Display screen frequency conversion method, display driving integrated circuit chip and application processor
CN113160748A