linux/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.h
Andrey Grodzovsky 792671d7e1 drm/amd/display: Add per surface validation hook.
For now just validate pixel format in the hook.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-09-26 18:15:54 -04:00

22 lines
410 B
C

/*
* dce100_resource.h
*
* Created on: 2016-01-20
* Author: qyang
*/
#ifndef DCE100_RESOURCE_H_
#define DCE100_RESOURCE_H_
struct core_dc;
struct resource_pool;
struct dc_validation_set;
struct resource_pool *dce100_create_resource_pool(
uint8_t num_virtual_links,
struct core_dc *dc);
enum dc_status dce100_validate_surface(const struct dc_surface *surface);
#endif /* DCE100_RESOURCE_H_ */