diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-12-04 19:05:42 +0100 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-01-13 18:33:34 +0100 |
commit | 43a6d19cace6e179fd129806874e96e81291485b (patch) | |
tree | cd2e0fd9492b73f5093f01f6d45b8350256aab70 /scripts/bin2c.c | |
parent | drm/i915: Bump up CDCLK to eliminate underruns on TGL (diff) | |
download | linux-43a6d19cace6e179fd129806874e96e81291485b.tar.xz linux-43a6d19cace6e179fd129806874e96e81291485b.zip |
drm/i915: Pass intel_connector to intel_attached_*()
Life is usually easier when we pass around intel_ types instead
of drm_ types. In this case it might not be, but I think being
consistent is a good thing anyway. Also some of this might get
cleaned up a bit more later as we keep propagating the intel_
types further.
@find@
identifier F =~ "^intel_attached_.*";
identifier C;
@@
F(struct drm_connector *C)
{
...
}
@@
identifier find.F;
identifier find.C;
@@
F(
- struct drm_connector *C
+ struct intel_connector *connector
)
{
<...
- C
+ &connector->base
...>
}
@@
identifier find.F;
expression C;
@@
- F(C)
+ F(to_intel_connector(C))
@@
expression C;
@@
- to_intel_connector(&C->base)
+ C
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191204180549.1267-3-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'scripts/bin2c.c')
0 files changed, 0 insertions, 0 deletions