Skip to content

Commit 95543d2

Browse files
pelwellpopcornmix
authored andcommitted
FIXUP: drm/vc4: Add support for margins to fkms
1 parent 3a81707 commit 95543d2

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

‎drivers/gpu/drm/vc4/vc4_firmware_kms.c‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -264,23 +264,6 @@ static inline struct vc4_crtc *to_vc4_crtc(struct drm_crtc *crtc)
264264
return container_of(crtc, struct vc4_crtc, base);
265265
}
266266

267-
struct vc4_crtc_state {
268-
struct drm_crtc_state base;
269-
270-
struct {
271-
unsigned int left;
272-
unsigned int right;
273-
unsigned int top;
274-
unsigned int bottom;
275-
} margins;
276-
};
277-
278-
static inline struct vc4_crtc_state *
279-
to_vc4_crtc_state(struct drm_crtc_state *crtc_state)
280-
{
281-
return (struct vc4_crtc_state *)crtc_state;
282-
}
283-
284267
struct vc4_fkms_encoder {
285268
struct drm_encoder base;
286269
bool hdmi_monitor;

0 commit comments

Comments
 (0)