When Dynamic Resolution Change (DRC) is triggered in the WiFi display
stack, it results in a PAUSE and a RESUME event. During DRC, the
dimensions of the framebuffer are changed. To support DRC we need to:
1. Check if a RESUME event is the result of a valid DRC event
2. Reconfigure the display's attributes to reflect resolution change
3. Enable MDP downscaling when necessary (Valid DRC cases)
Change-Id: Idc3cbc94de99a4a7299e2f6b26c3e35937c1d6c8
On WFD/HDMI connection, if the configured resolution is less than
Primary Resolution, Display HAL does the following:
1. sends hpd notification to SF with primary resolution.
2. configures MDP pipes with configured Resolution.
This is done to improve UI quality as MDP has better downscale
filter options compared to GPU.
Change-Id: I33570c13016a35ed6c5d22d4c34dfe75b2c605a1
On WFD/HDMI connection, if the configured resolution is less than
Primary Resolution, Display HAL does the following:
1. sends hpd notification to SF with primary resolution.
2. configures MDP pipes with configured Resolution.
This is done to improve UI quality as MDP has better downscale
filter options compared to GPU.
This works only for QCOM WFD proprietary solution.
Change-Id: Ic20e837bf02c0f7b6718946e70b936f3a469fa7c
- cleans up external library
- add separate library for virtual display
- process virtual updates in its separate path
in hwc.
- Acquire blank mutex lock for one complete drawing
cycle
Change-Id: Ib984c578464a131ecdb27ee48960f58d68b7a5a7