diff options
author | Xu YiPing <[email protected]> | 2019-08-20 23:06:09 +0000 |
---|---|---|
committer | Sam Ravnborg <[email protected]> | 2019-08-21 19:15:36 +0200 |
commit | 43774b0eed5612a8830b82cb7122beb6d05b5ac5 (patch) | |
tree | 9ce1b1f79f699c37ce619a6f7ea59c7e392ab1fd /lib/string_helpers.c | |
parent | ada7f67da99def9fcbbd99dd03f323bc0182d21c (diff) |
drm: kirin: Dynamically allocate the hw_ctx
As part of refactoring the kirin driver to better support
different hardware revisions, this patch modifies the
initialization function to dynamically allocate the ade_hw_ctx
structure previously kept as part of struct ade_data.
This is done so that later we can have the hw_ctx point to
hardware revision specific ctx structures.
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