summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/cdv_device.h
diff options
context:
space:
mode:
authorPatrik Jakobsson2013-08-14 19:14:17 +0200
committerPatrik Jakobsson2013-08-14 20:44:52 +0200
commit28a8194c12f8c8bb46aecd4cb1f36bac716714c4 (patch)
treeecefead41789d5dd66d9970c5d45462cf17439f4 /drivers/gpu/drm/gma500/cdv_device.h
parentdrm/gma500: Rename psb_intel_encoder to gma_encoder (diff)
downloadkernel-qcow2-linux-28a8194c12f8c8bb46aecd4cb1f36bac716714c4.tar.gz
kernel-qcow2-linux-28a8194c12f8c8bb46aecd4cb1f36bac716714c4.tar.xz
kernel-qcow2-linux-28a8194c12f8c8bb46aecd4cb1f36bac716714c4.zip
drm/gma500/cdv: Add and hook up chip op for watermarks
Add a callback hook to the chip ops struct to allow chips to have their specific fifo watermark update function. Currently only cdv actually tries to set wms based on crtc configuration but if/when the other chips needs it we can attach a callback for them as well. Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/cdv_device.h')
-rw-r--r--drivers/gpu/drm/gma500/cdv_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_device.h b/drivers/gpu/drm/gma500/cdv_device.h
index 602406bb6d0f..9e4805627450 100644
--- a/drivers/gpu/drm/gma500/cdv_device.h
+++ b/drivers/gpu/drm/gma500/cdv_device.h
@@ -26,3 +26,4 @@ extern void cdv_hdmi_init(struct drm_device *dev, struct psb_intel_mode_device *
int reg);
extern struct drm_display_mode *cdv_intel_crtc_mode_get(struct drm_device *dev,
struct drm_crtc *crtc);
+extern void cdv_update_wm(struct drm_device *dev, struct drm_crtc *crtc);