disp: msm: sde: allocate dsc block based on capability

Certain DSC hw blocks only support 444 mode, while others
support both 444 and 422 modes. This change adds support in
resource manager to check the hw resource requirement with
the capability of the block and then reserve the correct
hw resource.

Change-Id: If85beb2f2f25e9eb7f8a8321c94b57878d048369
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
This commit is contained in:
Abhijit Kulkarni
2019-05-27 18:05:38 -07:00
rodzic d3d3f808d4
commit e2726c7b1a
3 zmienionych plików z 36 dodań i 5 usunięć

Wyświetl plik

@@ -58,6 +58,7 @@
* interface
* @display_type: Type of the display
* @topology: Topology of the display
* @comp_info: Compression parameters information
*/
struct sde_encoder_hw_resources {
enum sde_intf_mode intfs[INTF_MAX];
@@ -66,6 +67,7 @@ struct sde_encoder_hw_resources {
u32 display_num_of_h_tiles;
enum sde_connector_display display_type;
struct msm_display_topology topology;
struct msm_compression_info *comp_info;
};
/**