disp: msm: sde: add support for CWB ROI cropping feature
This change exposes capabilities for CWB ROI to userspace as well as implements the cropping feature which is now supported. Change-Id: Idf76727175bf7c183367be715eaa45f3a432640c Signed-off-by: Samantha Tran <samtran@codeaurora.org>
このコミットが含まれているのは:
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2015-2019, 2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _SDE_FORMATS_H
|
||||
@@ -108,22 +108,6 @@ int sde_format_populate_layout(
|
||||
struct drm_framebuffer *fb,
|
||||
struct sde_hw_fmt_layout *fmtl);
|
||||
|
||||
/**
|
||||
* sde_format_populate_layout_with_roi - populate the given format layout
|
||||
* based on mmu, fb, roi, and format found in the fb
|
||||
* @aspace: address space pointer
|
||||
* @fb: framebuffer pointer
|
||||
* @roi: region of interest (optional)
|
||||
* @fmtl: format layout structure to populate
|
||||
*
|
||||
* Return: error code on failure, 0 on success
|
||||
*/
|
||||
int sde_format_populate_layout_with_roi(
|
||||
struct msm_gem_address_space *aspace,
|
||||
struct drm_framebuffer *fb,
|
||||
struct sde_rect *roi,
|
||||
struct sde_hw_fmt_layout *fmtl);
|
||||
|
||||
/**
|
||||
* sde_format_get_framebuffer_size - get framebuffer memory size
|
||||
* @format: DRM pixel format
|
||||
|
新しいイシューから参照
ユーザーをブロックする