Xu YiPing 49af461139 drm: kirin: Move config max_width and max_height to driver data
As part of refactoring the kirin driver to better support
different hardware revisions, this patch moves the max_width
and max_height values used in kirin_drm_mode_config_inita to
hardware specific driver data.

This will make it easier to add support for new devices
via a new kirin_drm_data structure.

Cc: Rongrong Zou <zourongrong@gmail.com>
Cc: Xinliang Liu <z.liuxinliang@hisilicon.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel <dri-devel@lists.freedesktop.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Xinliang Liu <z.liuxinliang@hisilicon.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Xu YiPing <xuyiping@hisilicon.com>
[jstultz: reworded commit message]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190820230626.23253-18-john.stultz@linaro.org
2019-08-21 19:15:41 +02:00
..
2019-08-14 18:31:10 +02:00
2019-08-06 08:21:53 +02:00
2019-07-22 21:24:10 +02:00
2019-08-06 09:20:58 +02:00
2019-08-14 18:30:52 +02:00
2019-07-17 12:52:55 +02:00
2019-06-25 00:10:24 +02:00
2019-06-30 09:48:05 +02:00
2019-08-09 09:15:05 +02:00
2019-07-17 12:52:55 +02:00
2019-07-22 21:24:10 +02:00
2019-07-15 18:11:31 +02:00
2019-07-17 12:52:55 +02:00
2019-08-14 18:31:04 +02:00
2019-07-15 18:11:30 +02:00
2019-07-17 12:52:55 +02:00
2019-07-25 17:35:20 +02:00
2019-07-15 18:11:30 +02:00
2019-07-22 21:24:10 +02:00
2019-07-22 21:24:10 +02:00
2019-07-22 21:24:10 +02:00
2019-07-25 10:45:07 +02:00
2019-07-22 21:24:10 +02:00
2019-07-31 15:17:03 +02:00
2019-07-31 15:17:03 +02:00