diff options
author | Xu YiPing <[email protected]> | 2019-08-20 23:06:25 +0000 |
---|---|---|
committer | Sam Ravnborg <[email protected]> | 2019-08-21 19:15:45 +0200 |
commit | 28cd05eee4097e7c94dac8e20d3c4af8b450447b (patch) | |
tree | b5de097907bfaf6e662d525197aa26a763620b4e /lib/string_helpers.c | |
parent | 2e89b4fbca8f8e6bdb674ae9778e7a0fd22b28ff (diff) |
drm: kirin: Pass driver data to crtc init and plane init
As part of refactoring the kirin driver to better support
different hardware revisions, this patch changes the code
via a passed in driver_data pointer, rather than hardcoding
them via ade_driver_data variable.
This will allow those funcitons to be later moved to the
generic kirin_drm_drv.c using alternative driver_data structures
that support other hardware.
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