diff options
author | Xu YiPing <[email protected]> | 2019-08-20 23:06:24 +0000 |
---|---|---|
committer | Sam Ravnborg <[email protected]> | 2019-08-21 19:15:45 +0200 |
commit | 2e89b4fbca8f8e6bdb674ae9778e7a0fd22b28ff (patch) | |
tree | 635719c5aba775b5512a2f420f781210404e1c3f /lib/string_helpers.c | |
parent | 27dd04a59158f2c52974c3691163b8014c8195f1 (diff) |
drm: kirin: Add alloc_hw_ctx/clean_hw_ctx ops in driver data
As part of refactoring the kirin driver to better support
different hardware revisions, this patch changes the
alloc/clean_hw_ctx functions to be called via driver_data
specific funciton pointers.
This will allow the ade_drm_init to later be made generic and
moved to kirin_drm_drv.c
Cc: Rongrong Zou <[email protected]>
Cc: Xinliang Liu <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: dri-devel <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Acked-by: Xinliang Liu <[email protected]>
Reviewed-by: Sam Ravnborg <[email protected]>
Signed-off-by: Xu YiPing <[email protected]>
[jstultz: Reworded commit message]
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions